/*
Theme Name: ALYS - bootstrap based
Author: ALYS Team
Version: 1
*/

html {
  font-size:100%;
}

body {
  font-family: 'Roboto', 'sans-serif';  
  font-size: 1rem;
  background-color: #EBEFF3;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 2rem;
}
a{color: #2c5c9e;}
h1{color:#2c5c9e;font-weight: bold;} 
h2{color:#2c5c9e;font-weight: bold;}
/*utility*/
hr.center-ball {
    border: 0;
    height: 1px;
    width: 20%;
    position: relative;
    margin-left: auto; margin-right: auto;
    background: #2c5c9e;
    overflow: visible;    
}

hr.center-ball::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid #2c5c9e;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.pt-7 { padding-top: 5rem !important;}
.default-box{box-shadow: rgba(101,134, 172, 0.24) 0px 3px 8px;}
.btn-link{background: #2c5c9e;color: #ffffff;text-transform: uppercase; border-radius: 0; padding: 8px 23px; text-decoration: none;}
.btn-link:hover{background: #233D6D;color: #fff;}
.back-button {
    position: fixed;    
    left: 20px;
    z-index: 1000;
    border-color: #2c5c9e;
    color: #2c5c9e;
    margin-top: 10px;
}
.back-button:hover {border-color: #FFF; color: #FFF; background-color: #2c5c9e;}
.section-title {margin-bottom: 30px;}
/*header*/
.site-header {background: #233D6D;padding-top: 15px;padding-bottom: 15px;}    
.site-header .site-logo-container .site-logo img {max-width: 100%; height: auto;}

/*footer*/
.footer{color: #697e9d; background: #151d29;}


/*menu*/
.site-header ul.navbar-nav.top-links {font-size: .8rem;}
.site-header ul.navbar-nav.top-links a{font-size: .8rem;}
.site-header ul.navbar-nav.top-links a:hover{color: #F79929;}
.site-header .menu-user-panel ul li a{font-size: 1.2rem; margin-left: 15px;}
.site-header ul.navbar-nav li.menu-item a {padding-left: 0;padding-right: 0;}
.site-header .btn-nav-link {
    color: #ffffff;
    text-transform: uppercase;    
    font-size: .8rem;
    font-weight: bold;
}

.site-header .main-menu-container .navbar-collapse ul {padding-top: 15px;}    

.site-header ul.navbar-nav li a {
    color: #ffffff;
    text-transform: uppercase;    
    font-size: 1rem;
	text-decoration: none;
    font-weight: bold;
    padding-left: 0;
    padding-right: 0;
}
.site-header ul.navbar-nav li a:hover{color: #F79929;}
.navbar-toggler-icon {filter: brightness(0) invert(1);}
.navbar-toggler {border-color: rgba(255, 255, 255, 0.7);}
/*login page*/
body.page-template-tmpl_login-php header {display: none;}
body.page-template-tmpl_login-php footer {display: none;}
.login-logo img {filter: brightness(0) saturate(100%)  invert(33%) sepia(20%) saturate(1450%)   hue-rotate(178deg) brightness(85%) contrast(90%);}
/* ======= LOGIN FORM  ====== */
/* Login form container */
#loginform {
    max-width: 420px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Form paragraphs */
#loginform p {
    margin-bottom: 20px;
}

/* Labels */
#loginform label {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 500;
    color: #343a40;
}

/* Username and password fields */
#loginform input[type="text"],
#loginform input[type="password"] {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

/* Focus */
#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus {
    border-color: #2c5c9e;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

/* Remember me */
#loginform .login-remember {
    margin-bottom: 20px;
}

#loginform .login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

#loginform input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* Login button */
#loginform input[type="submit"] {
    width: 100%;
    padding: 11px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: #F79929;
    border: 1px solid #f59030;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

/* Button hover */
#loginform input[type="submit"]:hover {
    background: #2c5c9e;
    border-color: #275da8;
}

/* ######## news posts ########*/
/*search*/
.page-template-page-home .site-header,.post-type-archive-news .site-header,.tax-source .site-header,.post-type-archive-tribe_events .site-header{padding-bottom: 0px;} /*remove the bottom pad from header for specific page*/
.search-bar{background-color: #fff;padding: 10px 0 10px 0; margin: 15px 0 10px 0;}
.news-search .form-control,
.news-search .form-select {background-color: #EBEFF3;border-radius: 0;border: 0px;}
.news-search .form-label {background: transparent;}
.news-search .btn-primary{background: #2c5c9e;border: 1px solid #275da8; border-radius: 0px; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease;}
.news-search .btn-primary:hover{background: #F79929;}
.news-search-toggle,.news-search .search-bar {box-shadow: 0 4px 6px -3px rgba(101,134, 172, 0.25);}

/* Mobile search toggle */
.news-search-toggle {width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; background: #FFF;  border: 0;
    border-radius: 0; color: #333; font-size: 16px; text-align: left; cursor: pointer;}
.search-arrow { transition: transform 0.2s ease;}
/*posts*/
.news-post-box{padding: 20px;background-color: #fff;height: 100%;  display: flex;  flex-direction: column;}
.post-info{color: #000000;font-size: 1.1rem;font-weight: bold; margin-top: 8px; text-transform: uppercase;}
.post-content{margin-top: 25px;padding-bottom: 25px;}
.post-title {color: #2c5c9e;font-size: 1.6rem;font-weight: bold;}
.post-excerpt {color: #161616; margin-top: 20px;}
.post-link{text-decoration: none;}
.post-footer {margin-top: auto; text-align: right;}
.post-readme{font-weight: bold;font-size: .95rem;color: #2c5c9e;margin-top: auto;margin-bottom: 0px;display: flex; justify-content: flex-end; align-items: center; gap: 5px;}
.listings-container a.post-link:hover .default-box{box-shadow: rgba(101, 134, 172, 0.45) 0px 5px 15px;}
.listings-container a.post-link:hover .post-readme{color: #F79929;}

/*single page*/
.single-pg{background-color: #FFF;position: relative;}
.upper-block{padding: 4rem 0 4rem 0;}
.tags-section-title{color: #F79929;margin-bottom: 1.2rem;}
.tags-list ul{margin: 0; padding: 0;}
.tags-list ul li {list-style: none;margin: 3px;background-color: #F79929; -webkit-transition: all 0.15s ease-in-out;transition: all 0.15s ease-in-out;}
.tags-list ul li a {font-size: 1rem; font-weight: bold; color: #ffffff; text-transform: uppercase;  display: block;  padding: 7px 10px;text-decoration: none;}
.tags-list ul li a:hover{background: #2c5c9e}
.news-links li{margin-right: 2px;}
.related-post-title{margin: 3.2rem 0 1.8rem 0;}
.related-post-title a{text-decoration: none;}

.tags-section-title.doc-type{color: #2c5c9e;}
.tags-list.doc-type-list ul li {background-color:#2c5c9e;}
.tags-list.doc-type-list ul li a:hover{background: #F79929; }


/*documents archive*/
.document-card {
    position: relative;
    max-width: 320px;
    margin: 0 auto 40px;    
}

/* PDF cover */
.document-cover {
    max-height: 280px;
    display: block;
    width: 88%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background-color: #FFF;    
}

.document-cover img {
    display: block;
    width: 100%;
    height: auto;
    transition: all 0.2s ease 0s;
}

/* Information box */
.document-info {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: -35px;
    padding: 10px 10px 10px 10px;
    background: #fff;
    max-height: 260px;
    min-height: 260px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: rgba(101, 134, 172, 0.24) 0px 3px 8px;
}
.doc-listings-container a:hover .document-info {box-shadow: rgba(101, 134, 172, 0.45) 0px 5px 15px; }
.doc-listings-container a:hover .document-cover img{transform: scale(1.1);}
.document-info .tags-list{margin-top: auto;}
.document-info .tags-list ul li,.tags-list.event-cats ul li{background-color: #2c5c9e;color: #FFF;    padding: 4px 6px;font-size: 13px;}
/* Date */
.document-date {
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}

/* Title */
.document-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.document-title a {
    color: #222;
    text-decoration: none;
}

.document-title a:hover {
    color: #2c5c9e;
}

/*document single page*/
/*related PDFs*/
.rltd-cover{position: relative;}
.rltd-cover img {
    display: block;
}

.rltd-info {
    line-height: normal;
    background: rgb(44 92 158 / 75%);
    color: #fff;
}

.rltd-title {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.rltd-download {
    font-size: 24px;
    line-height: 1;
    margin-left: 10px;
    flex-shrink: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
.rltd-docs a:hover .rltd-cover {box-shadow: rgba(101, 134, 172, 0.45) 0px 5px 15px; }
.rltd-cover:hover .rltd-download {animation: pdfDownload 0.7s ease-in-out infinite;}

/*Events*/
.post-type-archive-tribe_events .post-info {font-size: 1rem;}

/*the events calendar*/
.tribe-common .listings-container {
    margin: 0 !important;
    padding: 0 !important;
}

.tribe-common .listings-container .row {
    margin-right: calc(-.5 * var(--bs-gutter-x)) !important;
    margin-left: calc(-.5 * var(--bs-gutter-x)) !important;
}

.tribe-common .listings-container .row > * {
    padding-right: calc(var(--bs-gutter-x) * .5) !important;
    padding-left: calc(var(--bs-gutter-x) * .5) !important;
    margin-top: var(--bs-gutter-y) !important;
}

.tribe-common .listings-container .news-post-box {padding: 20px;}
.tribe-common .listings-container .news-post-box .post-info {margin-top: 8px;}
.tribe-common .listings-container .news-post-box .post-content{margin-top: 25px;padding-bottom: 25px;}
.tribe-common .listings-container .news-post-box .post-content h3{margin-bottom: 2rem;}
.tribe-common .listings-container .news-post-box .post-content .post-excerpt {margin-top: 20px;}
.tribe-common .listings-container .news-post-box .post-footer {margin-top: auto;}

.tribe-events-header__events-bar{display: none !important;} /*hide default search bar of events plugin as we are using custom search box*/
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {padding-top: var(--tec-spacer-8);}
.tribe-common .listings-container .row > li:first-child {margin-top: 5px !important;}

@keyframes pdfDownload {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

@media (max-width: 991.98px) {
.news-search .search-bar {display: none; padding-top: 20px;    margin: 0px 0 10px 0;}

.news-search .search-bar.open {display: block;}
.news-search-toggle{margin: 20px 0 0px 0;}
.news-search-toggle[aria-expanded="true"] .search-arrow { transform: rotate(180deg);}

/* Stack the fields */
.news-search .col-lg-3,
.news-search .col-lg-2 {width: 100%;margin-bottom: 15px;}

.news-search .d-flex {width: 100%;}
.news-search .form-label {background-color: #EBEFF3;}

/*single page*/
.news-links-section {margin: 1rem 0 0 0;}
}

@media (min-width: 992px) {
    .site-header .main-menu-container .navbar-collapse ul {
        padding-bottom: 0;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .news-search .search-bar {display: block;}
}