/*

TemplateMo 590 topic listing

https://templatemo.com/tm-590-topic-listing

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
    --white-color: #ffffff;
    --primary-color: #13547a;
    --secondary-color: #80d0c7;
    --section-bg-color: #f0f8ff;
    --custom-btn-bg-color: #80d0c7;
    --custom-btn-bg-hover-color: #13547a;
    --dark-color: #000000;
    --p-color: #717275;
    --border-color: #7fffd4;
    --link-hover-color: #13547a;

    --body-font-family: 'Montserrat', sans-serif;
    --title-font-family: 'Montserrat', sans-serif;

    --h1-font-size: 58px;
    --h2-font-size: 46px;
    --h3-font-size: 32px;
    --h4-font-size: 28px;
    --h5-font-size: 24px;
    --h6-font-size: 22px;
    --p-font-size: 20px;
    --menu-font-size: 14px;
    --btn-font-size: 18px;
    --copyright-font-size: 16px;

    --border-radius-large: 100px;
    --border-radius-medium: 20px;
    --border-radius-small: 10px;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

body {
    background-color: var(--white-color);
    font-family: var(--body-font-family);
}

ul li {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-normal);
}

a,
button {
    touch-action: manipulation;
    transition: all 0.3s;
}

a {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper.is-sticky .navbar {
    background-color: #bae7f7;
}

.navbar {
    background: transparent;
    z-index: 9;
    left: 0;
    position: absolute;
    top: 0;
    transition: all 0.7s ease 0s;
    width: 100%;
    z-index: 99;
}

.navbar-brand {
    font-size: var(--h3-font-size);
    display: flex;
}

.navbar-brand .navbar-title {
    font-family: var(--title-font-family);
    color: var(--dark-color);
    font-size: 18px;
    margin-left: 10px;
    font-weight: 600;
}
.navbar-end {
    font-size: 12px;
    font-weight: 500;
}

.navbar-expand-lg .navbar-nav .nav-link {
    border-radius: var(--border-radius-large);
    margin: 10px;
    padding: 10px;
}

.navbar-collapse {
    justify-content: end;
}

.navbar-nav .nav-link {
    display: inline-block;
    color: var(--dark-color);
    font-family: var(--title-font-family);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0;
    width: 30px;
    height: 35px;
    outline: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon:after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
    top: 0;
}

.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon:before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon:after {
    transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
    background: var(--dark-color);
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: var(--dark-color);
    width: 30px;
    height: 2px;
    content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
}

/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 150px;
}

.font-20 {
    font-size: 20px !important;
}

.section_1_container {
    color: var(--dark-color);
    font-size: 28px;
    font-weight: 900;
}
.section_1_container1 {
    font-family: var(--title-font-family);
    color: var(--dark-color);
    font-size: 16px;
    font-weight: 600;
}

.custom-block-image {
    display: block;
    width: 66%;
    object-fit: cover;
}

/*---------------------------------------
  TOPICS              
-----------------------------------------*/
.featured-section {
    background-color: #bee9fa;
    padding: 120px 0 140px 0;
}

/*---------------------------------------
  explore              
-----------------------------------------*/
.explore-section {
    padding: 80px 0 20px 0;
}
.explore-section .custom-block-image {
    width: 100%;
    height: 240px;
}
.explore-section .font-20 {
    font-size: 18px !important;
}

.explore-section .font-22 {
    font-size: 20px !important;
}

.block-image {
    height: 400px;
    width: 50%;
}

body {
    background: #fff;
}

/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
    background: #bae7f7;
    padding: 80px 0 100px 0;
}

.site-footer a {
    display: block;
}

/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/

.form-item > label {
    display: inline-block;
    width: 120px;
    font-family: var(--title-font-family);
    color: var(--dark-color);
    font-size: 20px;
    font-weight: 900;
}

.form-item .error {
    font-size: 14px;
}
.custom-form .form-input,
.custom-form .form-input:focus-visible {
    border: 1px solid #bae7f7;
    outline: none;
    font-family: var(--title-font-family);
    color: var(--dark-color);
    font-size: 20px;
    width: 200px;
    height: 32px;
}

.custom-form .form-selects {
    border: 1px solid #bae7f7;
    outline: none;
    font-family: var(--title-font-family);
    color: var(--dark-color);
    font-size: 20px;
    width: 200px;
    height: 32px;
}

.form-submit {
    background-color: rgba(0, 0, 0, 0.1) !important;
    width: 200px;
    height: 50px;
    margin-left: 124px;
    font-size: 16px !important;
}

.custom-form button[type='submit'] {
    background: transparent;
    border: none;
    font-size: 16px !important;
    font-weight: 900;
    font-family: var(--title-font-family);
}

.custom-form button[type='submit']:hover,
.custom-form button[type='submit']:focus {
    background: transparent;
    border-color: transparent;
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .navbar {
        background-color: var(--secondary-color);
    }

    .navbar-nav .dropdown-menu {
        position: relative;
        left: 10px;
        opacity: 1;
        pointer-events: auto;
        max-width: 155px;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .navbar-expand-lg .navbar-nav {
        padding-bottom: 20px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0;
    }

    .nav-tabs .nav-link:first-child {
        margin-right: 5px;
    }

    .nav-tabs .nav-link {
        font-size: var(--copyright-font-size);
        padding: 10px;
    }
    .block-image {
        width: 100%;
        height: 360px;
    }
}

@media screen and (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        margin-top: 0;
        pointer-events: auto;
    }
    .container {
        max-width: 1600px;
    }

    .col-lg-25 {
        flex: 0 0 auto;
        width: 20%;
    }

    .col-lg-30 {
        flex: 0 0 auto;
        width: 26%;
    }

    .col-lg-75 {
        flex: 0 0 auto;
        width: 74%;
    }
}

@media screen and (max-width: 768px) {
    .custom-block-image {
        width: 100%;
    }
    .block-image {
        width: 100%;
        height: 300px;
    }
}
