{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
}}
{{!
    @template theme_almondb/frontpage/head

    Moodle template for the frontpage head.
}}
{{{ output.doctype }}}
<html {{{ output.htmlattributes }}}>
<head>
    <title>{{{ output.page_title }}}</title>
    <link rel="shortcut icon" href="{{{ output.favicon }}}" />
    {{{ output.standard_head_html }}}
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <style>
    {{#colorsetup}}
    
        /* theme-color */
        .header-area, .footer-header-underline, .item-icon i {
            border-color: {{{sitecolor}}};
        }
        .hytext, .main-menu li.active a, a:hover, .main-menu li a:hover, .footer-menu li a:hover, 
        .hybtn:hover, .icon-icon i, .item-icon i:hover, .video-img-thumbnail a:hover, 
        .blog-tags a:hover, .blog-btn .read-more-btn:hover, .author-content a:hover, .address-line p a:hover {
            color: {{{sitecolor}}};
        }
        .hybtn, button.active, .icon-box-content, .item-icon i, .theme-bg, .course-inner::after, .project-inner::after, 
        .social-links li:hover, #scrollUp, .scrollUp {
            background-color: {{{sitecolor}}};
        }
        .box:hover{text-decoration:none;box-shadow:0 0 10px 3px #cff1ff; border-color:{{{sitecolor}}}}
    {{/colorsetup}}	

    .block03design2 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizelegibility;
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        overflow: hidden;
        background-color: #ffffff;
    }
    .block03design2 .fdb-box {
        height:200px;
        background: #ffffff;
        padding: 2rem 2rem;
        overflow: hidden;
        color: #444444;
        border-radius: 0.25rem;
        box-shadow: 0 0.3125rem 0.875rem 0 rgba(129, 129, 129, 0.2) !important;
    }
    .block03design2 .fdb-touch {
        border-top: solid 0.3125rem {{{sitecolor}}};
    z-index: 2;
    }
    .fdb-box h6 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
    }
    .block03design3 .boxhy {
        padding: 30px;
        background: white;
        width: 100%;
        height: 100%;
        border: 1px solid {{{sitecolor}}};
        border-radius: 0;
        transition: 0.4s all;
    }
    .block03design3 .boxhy-wrap:hover .boxhy {
        filter: blur(3px);
        opacity: 0.5;
        transform: scale(.98);
        box-shadow: none;
    }
    .block03design3 .boxhy-wrap:hover .boxhy:hover {
        transform: scale(1);
        filter: blur(0px);
        opacity: 1;
        box-shadow: 0 8px 20px 0 rgba(0,0,0,0.125);
    }
    .block04design1__arrow {
        z-index: 1;
        width: 2em;
        height: 2em;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        padding: 0;
        opacity: .7;
        font-size: 1rem;
    }
    .block06design2 .img-area img {
        position:absolute;
        top: -238px;
        right: 0;
        bottom: 0;
        height: 440px;
        content: "";
        z-index: 1
    }
    .block06design2 .choose-area {
        background: {{{sitecolor}}}
    }
    .block06design2 .choose-content p {
        color: white;
        font-size: 14px;
        margin-bottom: 20px
    }
    .block07design1 .card-body h6 {
        font-size: 16px;
        font-weight: 600;
    }
    .block07 .splide__container {
        position: relative;
        box-sizing: border-box;
    }
    .block07 .splide__list {
        margin: 0 !important;
        padding: 0 !important;
        width: -webkit-max-content;
        width: max-content;
        will-change: auto;
    }
    .block07 .splide.is-active .splide__list {
        display: flex;
        align-items: flex-start;
    }
    .block07 .splide__pagination {
        display: inline-flex;
        align-items: center;
        width: 40%;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 40px;
    }
    .block07 .splide__pagination li {
        list-style-type: none;
        display: inline-block;
        line-height: 1;
        margin: 0;
    }
    .block07 .splide__pagination li button {
        background-color: transparent;
        border: 1px solid {{{sitecolor}}};
        height: 10px;
        margin: 0 7px;
        width: 10px;
        border-radius: 50%;
    }
    .block07 .splide__pagination li button.is-active {
        background-color: {{{sitecolor}}};
    }
    .splide {
        visibility: hidden;
    }
    .block07 .splide,
    .block07 .splide__slide {
        position: relative;
        outline: none;
    }
    .block07 .splide__slide {
        box-sizing: border-box;
        list-style-type: none !important;
        margin: 0;
        flex-shrink: 0;
    }
    .block07 .splide__slide img {
        vertical-align: bottom;
    }
    .block07 .splide__slider {
        position: relative;
    }
    .block07 .splide__track {
        position: relative;
        z-index: 0;
        overflow: hidden;
        padding-top: 2em;
        padding-bottom: 2em;
    }
    .block07 .splide--draggable > .splide__track > .splide__list > .splide__slide {
        -webkit-user-select: none;
        user-select: none;
    }
    .block07 .splide--ttb > .splide__track > .splide__list {
        display: block;
    }
    .block07 .splide--ttb > .splide__pagination {
        width: auto;
    }
    .block07 .splide__arrow--next {
        right: 0em;
    }
    .block07 .splide__arrow--prev {
        left: 0em;
    }
    .block07 .splide__arrow {
        top: 1%;
        background:  {{{sitecolor}}};
    }
    .hy__container {
        padding: 0;
        margin-bottom: 2.35765%;
        background-color: #fff;
        border-radius: 0.2rem;
        border: 1px solid rgba(0, 0, 0, 0.125);
    }
    .hy__container .hy__image img {
        object-fit: cover;
        width: 100%;
        border-radius: 2px 2px 0 0;
    }
    .hy__container h6 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .hy__total {
        font-weight: 600;
    }
    .hy__info {
        padding: 0.5em;
    }
    .hy__image {
        margin: 0;
    }
    .hy__overlay {
        position: absolute;
        bottom: 10px;
        left: 10px;
        right: 10px;
        background-color: {{{sitecolor}}};
        overflow: auto;
        width: auto;
        height: 50%;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        -webkit-transition: .5s ease;
        transition: .5s ease;
        border-radius: 2px;
        opacity: 0.9;
        scrollbar-color: rgb(136, 136, 136)  {{{sitecolor}}}; 
    }
    .hy__overlay::-webkit-scrollbar-thumb {
        background: rgb(136, 136, 136);
        border-radius: 10px;
    }
    .hy__container:hover .hy__overlay {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    .hy__text {
        color: white;
        font-size: 16px;
        padding : 25px;
    }
    .block08design3 .card {
        border-radius: 0.2rem;
    }
    .block08design3 .card, .card-img-top {
        border-top-left-radius: 0.2rem ;
        border-top-right-radius: 0.2rem ;
    }
    .block08design3 .card-body h6 {
        font-size: 16px;
        font-weight: 600;
    }
    .block08design4 .card {
        border-radius: 0.2rem;
    }
    .block08design4 .card, .card-img-top {
        border-top-left-radius: 0.2rem ;
        border-bottom-left-radius: 0.2rem ;
        border-top-right-radius: 0;
    }
    .block08design4 .card-body h6 {
        font-size: 16px;
        font-weight: 600;
    }
    .block08design4 .card-body {
        padding: 1.0rem 0.2rem .5rem 0.01rem;
    }
    @media (max-width: 767.98px) {
        .block08design4 .card .card-body {
            padding: 0.625rem;
        }
    }
    .teachers .social li a:hover,.teachers .teacher-content h4 span {
        color: {{sitecolor}};
    }
    .teachers .social,.teachers .teacher-content:hover {
        background: {{sitecolor}};
    }

    .teachers {
        background: #fff;
    }
    .teachers .teachers-slider{
        margin-top:30px;
    }
    .teachers .single-teacher {
        position: relative;
        margin-bottom: 30px;
    }
    .teachers .teacher-head {
        position: relative;
    }
    .teachers .teacher-head.overlay::before {
        opacity: 0;
        z-index: 1;
        visibility: hidden;
    }
    .teachers .single-teacher:hover .teacher-head.overlay:before{
        opacity:0.8;
        visibility:visible
    }
    .teachers .teacher-head img{
        height:100%;
        width:100%;
        text-align:center;
    }
    .teachers .social {
        width: 75px;
        position: absolute;
        top: 15px;
        text-align: center;
        padding: 15px 0;
        opacity: 0;
        visibility: hidden;
        -webkit-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
        left: 15px;
        z-index: 2;
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        transform: translateY(-100%);
    }
    .teachers .single-teacher:hover .social{
        opacity:1;
        visibility:visible;
        transform: translateY(0%);
    }
    .teachers .social li {
        display: block;
        margin-bottom: 10px;
    }
    .teachers .social li:last-child{
        margin:0;
    }
    .teachers .social li a {
        color: #fff;
        font-size: 14px;
        width: 60px;
        height: 30px;
        line-height: 30px;
        border: 1px solid #fff;
        display: inline-block;
    }
    .teachers .social li a:hover{
        border-color:transparent;
        background:#fff;
    }
    .teachers .teacher-content {
        background: #fff;
        padding: 12px 30px;
        text-align: center;
        position: absolute;
        bottom: -15px;
        left: 15px;
        z-index: 33;
        -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
        -webkit-transition:all 0.3s ease 0s;
        -moz-transition:all 0.3s ease 0s;
        transition:all 0.3s ease 0s;
    }
    .teachers .single-teacher:hover .teacher-content,
    .teachers .single-teacher.active .teacher-content{
        transform:scale(1.0);
        opacity:1;
        visibility:visible;
    }
    .teachers .teacher-content:hover h4,
    .teachers .teacher-content:hover span{
        color:#fff;
    }
    .teachers .teacher-content h4 {
        font-size: 18px;
        font-weight: 500;
    }
    .teachers .teacher-content a {
        text-decoration: none;
    }
    .teachers .teacher-content h4 span {
        display: block;
        font-weight: 400;
        font-size: 15px;
        margin-top: 5px;
        -webkit-transition:all 0.3s ease 0s;
        -moz-transition:all 0.3s ease 0s;
        transition:all 0.3s ease 0s;
    }
    .overlay{
        position:relative
    }
    .overlay::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.8;
        background: #20232E;
        content: "";
        -webkit-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }
    {{^block08design3}}

    .splide__container {
        position: relative;
        box-sizing: border-box;
    }
    .splide__list {
        margin: 0 !important;
        padding: 0 !important;
        width: -webkit-max-content;
        width: max-content;
        will-change: auto;
    }
    .splide.is-active .splide__list {
        display: flex;
        align-items: flex-start;
    }
    .splide__pagination {
        display: inline-flex;
        align-items: center;
        width: 40%;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 40px;
    }
    .splide__pagination li {
        list-style-type: none;
        display: inline-block;
        line-height: 1;
        margin: 0;
    }
    .splide__pagination li button {
        background-color: transparent;
        border: 1px solid {{{sitecolor}}};
        height: 10px;
        margin: 0 7px;
        width: 10px;
        border-radius: 50%;
    }
    .splide__pagination li button.is-active {
        background-color: {{{sitecolor}}};
    }
    .splide {
        visibility: hidden;
    }
    .splide,
    .splide__slide {
        position: relative;
        outline: none;
    }
    .splide__slide {
        box-sizing: border-box;
        list-style-type: none !important;
        margin: 0;
        flex-shrink: 0;
    }
    .splide__slide img {
        vertical-align: bottom;
    }
    .splide__slider {
        position: relative;
    }
    .splide__track {
        position: relative;
        z-index: 0;
        overflow: hidden;
        padding-top: 2em;
        padding-bottom: 2em;
    }
    .splide--draggable > .splide__track > .splide__list > .splide__slide {
        -webkit-user-select: none;
        user-select: none;
    }
    .splide--ttb > .splide__track > .splide__list {
        display: block;
    }
    .splide--ttb > .splide__pagination {
        width: auto;
    }
    .splide__arrow--next {
        right: 0em;
    }
    .splide__arrow--prev {
        left: 0em;
    }
    .splide__arrow {
        top: 1%;
        background:  {{{sitecolor}}};
    }

    {{/block08design3}}
    .block09design1 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizelegibility;
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        overflow: hidden;
        background-color: #ffffff;
        {{#block09boxshadow}}
            text-shadow:5px 5px 15px {{{sitecolor}}};
        {{/block09boxshadow}}
    }
    .block09design1 .fdb-box {
        background: #ffffff;
        padding: 3rem 4rem;
        overflow: hidden;
        color: #444444;
        border: 1px solid  {{{sitecolor}}};
        border-radius: 0.25rem;
        {{#block09boxshadow}}
            box-shadow: 0.5rem 0.3125rem 0.875rem 0 {{{sitecolor}}} !important; 
        {{/block09boxshadow}}
    }
    .block09design1 .fdb-touch {
        border-top: solid 0.3125rem {{{sitecolor}}};
        z-index: 2;
    }
    .block09design1 h6 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 10px;
    }
    .block-text-box {
        padding: 15px 0;
        color: #ffffff;
        border-radius: 0.25rem;
        background: {{sitecolor}};
        opacity: 0.9;
    }

    .block09 .single-box {
        height: 150px;
        background-size: cover;
        padding-top:35px;
        position: relative;
        z-index: 1;
        overflow: hidden;
    }
    .block09 .single-box-color {
        height: 100px;
        background-size: cover;
        padding-top:35px;
        position: relative;
        z-index: 1;
        overflow: hidden;
    }

    .block09design2 img {
        opacity: 0.5;
    }
    .block09design2 h6 {
        font-size: 16px;
        font-weight: 700;
        margin-top: 3px;
        margin-bottom: 3px;
    }
    .block09design3 img {
        opacity: 0.5;
    }
    .block09design3 h6 {
        font-size: 16px;
        font-weight: 700;
        margin-top: 3px;
        margin-bottom: 3px;
    }
    .block09 .single-box-alt {
        font-size: 13px; 
        font-weight: 500;
        height: 50px;
        position:absolute; 
        left:0px;
        right:0px;
        bottom:0px; 
        width:100%;
        opacity: 0.9;
    }
    .block09 .single-box-alt-color {
        font-size: 13px; 
        font-weight: 500;
        height: 50px;
        position:absolute; 
        left:0px;
        right:0px;
        bottom:25%; 
        width:100%;
        opacity: 0.9;
    }

    .block09 .splide__container {
        position: relative;
        box-sizing: border-box;
    }
    .block09 .splide__list {
        margin: 0 !important;
        padding: 0 !important;
        width: -webkit-max-content;
        width: max-content;
        will-change: auto;
    }
    .block09 .splide.is-active .splide__list {
        display: flex;
        align-items: flex-start;
    }
    .block09 .splide__pagination {
        display: inline-flex;
        align-items: center;
        width: 40%;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 40px;
    }
    .block09 .splide__pagination li {
        list-style-type: none;
        display: inline-block;
        line-height: 1;
        margin: 0;
    }
    .block09 .splide__pagination li button {
        background-color: transparent;
        border: 1px solid {{{sitecolor}}};
        height: 10px;
        margin: 0 7px;
        width: 10px;
        border-radius: 50%;
    }
    .block09 .splide__pagination li button.is-active {
        background-color: {{{sitecolor}}};
    }
    .block09 .splide {
        visibility: hidden;
    }
    .block09 .splide,
    .block09 .splide__slide {
        position: relative;
        outline: none;
    }
    .block09 .splide__slide {
        box-sizing: border-box;
        list-style-type: none !important;
        margin: 0;
        flex-shrink: 0;
    }
    .block09 .splide__slide img {
        vertical-align: bottom;
    }
    .block09 .splide__slider {
        position: relative;
    }
    .block09 .splide__track {
        position: relative;
        z-index: 0;
        overflow: hidden;
        padding-top: 2em;
        padding-bottom: 2em;
    }
    .block09 .splide--draggable > .splide__track > .splide__list > .splide__slide {
        -webkit-user-select: none;
        user-select: none;
    }
    .block09 .splide--ttb > .splide__track > .splide__list {
        display: block;
    }
    .block09 .splide--ttb > .splide__pagination {
        width: auto;
    }
    .block09 .splide__arrow--next {
        right: 0em;
    }
    .block09 .splide__arrow--prev {
        left: 0em;
    }
    .block09 .splide__arrow {
        top: 1%;
        background:  {{{sitecolor}}};
    }
    {{#block11enabled}}
        .tag_list {
            font-size: 12px;
        }
        .tag_list b{
            display: none;
        }

        .slider_arrow_left, .slider_arrow_right {
            position: relative;
            top: -30px;
        }
        .slider_arrow_right a, .slider_arrow_left a {
        opacity: .9;
        background-color: {{sitecolor}}; 
        }
    {{/block11enabled}}
    @media only screen and (max-width: 576px) {
        .block19design2 .col-xs {
            width: 50%;
        }
    }
    .setupbutton{
        position: relative; 
        bottom: 20px;
        margin-left: 20px;
    }
    .setup1 {
        display: block;
    }
    .setup1 #page {
        margin-top: 40px;
        margin-bottom: 45px;
    }
    .setup1 #page-content{
        height: auto;
    }
    .setup1 #region-main {
    height: auto;
    padding-bottom : 40px;
    overflow-x: auto;
    overflow-y: visible;
    }
    .setup1 #region-main #site-news-forum {
    display: block !important;
    }
    .setup1 #region-main #frontpage-available-course-list{
        display: block !important;
    }
    .setup1 #region-main #frontpage-course-list{
        display: block !important;
    }
    .setup1 #region-main #frontpage-category-names{
        display: block !important;
    }
    .setup1 #region-main #frontpage-category-combo{
        display: block !important;
    }
    .setup1 #region-main .simplesearchform {
        display: none !important;
    }
    .setup1 #region-main .buttons{
        display: none !important;
    }
    .setup1 #region-main .skip-block-to{
        display: none !important;
    }
    .setup1 #region-main .box{
        padding-top : 0px !important;
        padding-bottom : 0px !important;
    }
    </style>
    

	{{#block18enabled}}
		{{#block18csslink}}
			{{{block18csslink}}}
		{{/block18csslink}}
		{{#block18css}}	
		<style>   
			{{{block18css}}}
		</style>
		{{/block18css}}	
	{{/block18enabled}}
</head>
