/*
Theme Name: Darunnoor Education
Theme URI: http://darunnooreducation.in/
Author: Mohammed Musthafa
Author URI: http://darunnooreducation.in/
Description: Custom theme for Darunnoor Education Centre Website
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: darunnoor

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

* {
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
}

body.inactive {
    overflow: hidden;
}

* {
    box-sizing: border-box;
}

h1, h2 {
    line-height: 1.2;
}

h3, h4, h5, h6 {
    line-height: 1.4;
}

p {
    line-height: 1.8;
    font-size: 15px;
    color: #363636;
    margin: 20px 0;
}

li {
    line-height: 1.8;
    font-size: 15px;
    color: #363636;
}

a {
    display: inline-block;
    color: #000;
    text-decoration: none
}

button {
    outline: none;
    font-size: 16px;
}

img, embed, object, video {
    max-width: 100%;
}

.container {
    width: 78%;
    /*padding: 0 50px;*/
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.row.col-2 {
    margin-left: -25px;
    margin-right: -25px;
}

.row.col-2 .col {
    width: 50%;
    padding: 0 25px;
}

.row.col-3 {
    margin-left: -25px;
    margin-right: -25px;
}

.row.col-3 .col {
    width: 33.33%;
    padding: 0 25px;
}

.row.col-4 {
    margin-left: -25px;
    margin-right: -25px;
}

.row.col-4 .col {
    width: 25%;
    padding: 0 25px;
}

main {
    width: 100%;
    overflow-x: hidden;
    margin-top: 113px;
}

header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 0px 10px -4px #444;
}

.admin-bar header {
    top: 30px;
}

header .top {
    background: #0e003a;
    color: #fff;
}

header .top ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

header .top ul li {
    padding: 8px 15px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    color: #fff;
}

header .top .icon {
    font-size: 1em;
}

header .top ul.contact-info .icon {
    margin-right: 10px;
    margin-top: -1px;
}

header .top ul.social-media {
    margin-left: auto;
}

header .top ul a {
    color: #fff;
}

header .top svg {
    height: 1em;
}

nav {
    background: rgba(255, 255, 255, 1);
    height: 75px;
    display: flex;
    align-items: center;
    position: relative;
}

nav .row {
    align-items: center;
}

nav .brand {
    display: flex;
    align-items: center;
    color: #0e003a;
}

nav .brand img {
    height: 55px;
}

nav .brand .name {
    text-transform: uppercase;
    margin-left: 10px;
}

nav .brand .name h1 {
    margin: 0;
    font-size: 1.5em;
}

nav .brand .name h3 {
    margin: -4px 0 0;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 2px;
}

nav .nav-toggle {
    display: none;
}

nav .nav-items {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    list-style: none;
    margin-left: auto;
}

nav .nav-items li a {
    padding: 10px 10px;
    text-transform: uppercase;
    font-weight: 600;
    color: #0e003a;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s;
}

nav .nav-items li:hover a {
    border-bottom: 3px solid #0e003a;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    padding: 15px 0;
    margin: 0;
    min-width: 250px;
    list-style: none;
    box-shadow: 0px 0px 10px -4px #0e003a;
    opacity: 0;
    pointer-events: none;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    pointer-events: all;
}

.dropdown .dropdown-content li {
    transition: background 0.3s;
}

.dropdown .dropdown-content li:hover {
    background: #0e003a;
}

.dropdown .dropdown-content li:hover a {
    color: #fff;
}

.dropdown .dropdown-content a {
    color: #0e003a;
    padding: 10px 25px;
    border: none !important;
    line-height: 1.4;
    transition: color 0.3s;
    font-size: 14px;
}

.button-primary {
    background: #0e003a;
    border: none;
    padding: 9px 12px;
    color: #fff;
    min-width: 130px;
    text-align: center;
}

.section {
    padding: 120px 0;
}

.title {
    color: #0e003a;
    text-align: center;
    margin: 0 0 0px;
}

.title .main-title span {
    color: #220777;
}

.title .main-title {
    color: #000;
    font-size: 34px;
    margin: 0;
    font-weight: 700;
}

.title:after {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    background: #220777;
    margin: 10px auto 30px auto;
}

.title.left {
    text-align: left;
}

.title.left:after {
    margin-left: 0;
}

.title.right {
    text-align: right;
}

.title.right:after {
    margin-right: 0;
}

.title .sub-title {
    font-weight: 600;
    font-size: 1em;
    margin: 0;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.dark .title:after {
    background: #fff;
}

.dark .title .main-title, .dark .title .main-title span {
    color: #fff;
}

footer {
    background: #0e003a;
    color: #ffff;
}

footer .divider {
    height: 3px;
    width: 36px;
    background: #fff;
    margin-bottom: 25px;
}

footer h2 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.3em;
    margin: 0 0 12px;
    color: #fff;
}

footer p, footer a {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.footer-row {
    margin: 0 -15px;
    display: flex;
    flex-wrap: wrap;
}

.footer-row .col {
    width: 25%;
    padding: 0 15px;
}

footer .info p {
    padding: 10px 0;
}

footer .latest-posts .latest-post {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #232323;
}

footer .latest-posts .latest-post:last-child {
    border-bottom: none;
}

footer .latest-posts .latest-post img {
    width: 80px;
    margin-top: 5px;
}

footer .latest-posts .latest-post .details {
    flex: 1;
    padding-left: 8px;
    overflow: hidden;
}

footer .latest-posts .post-title {
    margin: 0;
    color: #fff;
    font-size: 1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

footer .address-wrapper {
    display: flex;
    padding: 10px 0 5px;
    align-items: flex-start;
}

footer .address-wrapper svg {
    width: 14px;
    color: #fff;
    margin-top: 7px;
}

footer .address-wrapper p {
    padding-left: 10px;
}

footer .social-media {
    display: flex;
    margin-top: 15px;
}

footer .social-media a {
    color: #fff;
    width: 35px;
    height: 35px;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
}

footer .social-media svg {
    width: 50%;
}

footer ul.links {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer .links li {
    padding: 10px 0 10px 25px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

footer .links li:before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: #888;
    border-radius: 50%;
    left: 0;
    top: 20px;
}

footer .bottom {
    padding: 20px 0;
    background: #fff;
    text-align: center;
    border-bottom: 10px solid #0e003a;
}

footer .bottom p {
    color: #0e003a;
}

.hero {
    background-image: url(images/video-poster.jpg);
    background-size: cover;
    background-position: top;
    position: relative;
    padding: 100px 0 35px;
    color: #ffffff;
}

.hero:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #0e003a;
    background: linear-gradient(90deg, #0e003a 0%, rgba(14, 0, 58, 0.8) 100%);
}

.hero .wrapper {
    position: relative;
}

.hero h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 600;
    margin: 0;
}

.hero .breadcrumbs {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    margin-top: 10px;
}

.hero .breadcrumbs p {
    margin: 0;
}

.hero .breadcrumbs p .seperator {
    margin: 0 5px;
    height: 18px;
    vertical-align: middle;
    color: #fff;
}

.hero a {
    color: #fff;
}

.input {
    width: 100%;
    margin-bottom: 15px;
}

input, textarea {
    width: 100%;
    background: #eee;
    padding: 12px 12px;
    border: 0px solid #dadada;
    color: #0e003a;
    font-family: sans-serif;
    font-size: 16px;
}

textarea {
    resize: none;
}

.button {
    border: none;
    outline: none;
    background: #0e003a;
    color: #fff;
    padding: 10px 25px;
    font-size: 14px;
    text-transform: uppercase;
}

.button.outline {
    border: 2px solid #0e003a;
    background: transparent;
    color: #0e003a;
    padding: 8px 23px;
}

.posts {
    column-count: 3;
    column-gap: 50px;
}

.post {
    display: flex;
    break-inside: avoid;
    margin-bottom: 50px;
}

.thumbnail {
    display: block;
    position: relative;
}

.post .thumbnail {
    margin-bottom: 15px;
}

.thumbnail img {
    display: block;
    width: 100%;
}

.thumbnail .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 0, 58, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.thumbnail:hover .overlay {
    opacity: 1;
}

.thumbnail .overlay svg {
    height: 30px;
}

.post .categories {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.post .categories li {
    display: inline-block;
    text-transform: uppercase;
}

.post .categories li a {
    font-size: 14px;
    font-weight: 400;
}

.post .post-title {
    margin: 0 0 15px;
    font-weight: 600;
    font-size: 20px;
}

.post .post-title a {
    color: #0e003a;
}

.post .meta {
    font-size: 14px;
    margin-bottom: 15px;
}

.post .excerpt {
    margin: 0 0 18px;
    font-size: 14px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.gallery .image {
    width: 25%;
    padding: 10px;
}

.gallery .image .thumbnail {
    display: block;
    position: relative;
}

.gallery .image .thumbnail img {
    display: block;
    width: 100%;
}

.gallery .image .thumbnail .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 0, 58, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.gallery .image .thumbnail:hover .overlay {
    opacity: 1;
}

.gallery .image .thumbnail .overlay svg {
    height: 30px;
}

.layout-with-sidebar {
    display: flex;
    flex-wrap: wrap;
}

.layout-with-sidebar .content-area {
    width: 70%;
}

.layout-with-sidebar .sidebar-area {
    width: 30%;
}

.single-post .thumbnail {
    margin-bottom: 25px;
}

.single-post .thumbnail img {
    width: 100%;
}

.single-post .categories {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.single-post .categories li {
    display: inline-block;
    text-transform: uppercase;
    margin-right: 5px;
    font-size: 14px;
}

.single-post .categories li a {
    background: #0e003a;
    color: #fff;
    padding: 5px 15px;
}

.single-post .post-title {
    font-size: 35px;
    font-weight: 600;
    margin: 0 0 10px;
}

.single-post .meta {
    font-size: 14px;
    margin-bottom: 10px;
}

.single-post .header {
    margin-bottom: 40px;
}

.page-template-admission .info ul {
    margin: 0;
}

@media(max-width: 992px) {
    .hidden-md {
        display: none !important;
    }
    .row.col-3 .col, .row.col-4 .col {
        width: 50%;
        padding: 25px;
    }
    .container {
        padding-left: 35px;
        padding-right: 35px;
        width: 100%;
    }
    nav .nav-toggle {
        display: block;
        padding: 0;
        border: none;
        background: transparent;
        margin-left: auto;
    }
    .bar {
        display: block;
        width: 30px;
        height: 4px;
        background-color: #5e007f;
        margin: 5px 0;
        transition: all 0.3s;
    }
    nav .nav-items {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        overflow-x: hidden;
        overflow-y: auto;
        background-color: rgba(255, 255, 255, 1);
        flex-direction: column;
        padding: 38% 25px 50px;
        z-index: -1;
        opacity: 0;
        transform: translateX(100%);
        transition: all 0.3s;
    }
    nav.expanded .nav-items {
        transform: translateX(0);
        opacity: 1;
    }
    nav.expanded .nav-toggle .bar1 {
        transform: translateY(9px) rotate(-45deg);
    }
    nav.expanded .nav-toggle .bar2 {
        opacity: 0;
    }
    nav.expanded .nav-toggle .bar3 {
        transform: translateY(-9px) rotate(45deg);
    }
    .nav-items a {
        font-size: 1.8em;
        margin: 8px 0;
    }
    .footer-row .col {
        width: 50% !important;
        margin-bottom: 50px;
    }
    .footer-row .col:last-child {
        margin-bottom: 0px;
    }
    .posts {
        column-count: 2;
    }
    .gallery .image {
        width: 33.33%;
    }
}

@media(max-width: 768px) {
    .container {
        padding-right: 25px;
        padding-left: 25px;
    }
    .row.col-2 .col, .row.col-3 .col, .row.col-4 .col {
        width: 100%;
        padding: 25px;
    }
    .programs .program {
        width: 100%;
    }
    .footer-row .col {
        width: 100% !important;
    }
    .posts {
        column-count: 1;
    }
    .gallery .image {
        width: 50%;
    }
    .layout-with-sidebar .content-area {
        width: 100%;
    }
    .layout-with-sidebar .sidebar-area {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .gallery .image {
        width: 100%;
    }
}