/*
Theme Name:     Kallyas Child Theme
Theme URI:      http://kallyas.net/
Description:    Child theme for the Kallyas theme
Author:         Hogash
Author URI:     http://themeforest.net/user/hogash
Template:       kallyas
Version:        1.1
Tags: dark, light, left-sidebar, right-sidebar, fluid-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, full-width-template, theme-options, translation-ready
Text Domain:  zn_framework
*/

/* Animations */
@keyframes blinking {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes phasing {
    0% {
        opacity: 0.8;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

.blink {
    animation-name: blinking;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.phase {
    animation-name: phasing;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.mt-1 {
    margin-top: 1em;
}

.mb-3 {
    margin-bottom: 3em;
}

.text-small {
    font-size: 0.8em;
}

.no-style {
    font-weight: normal !important;
    margin: 0px 0px 0px 0px !important;
    background: none !important;
    box-shadow: none !important;
}

.quoted::before {
    content: '“';
    margin-right: 0.2em;
}

.quoted::after {
    content: '”';
    margin-left: 0.2em;
}

#page_wrapper {
    z-index: unset;
}

#zn-res-menu {
    z-index: 9999999999;
    position: absolute;
    top: 0px;
}

table.table-centered th,
table.table-centered td {
    text-align: center;
}

table.table-left th,
table.table-left td {
    text-align: left;
}

.table-borderless > thead > tr > th,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > tbody > tr > td,
.table-borderless > tfoot > tr > td {
    border-top: none;
    border: none;
}

table.table-condensed th,
table.table-condensed td {
    font-size: 0.9em;
}

.badges a {
    display: inline-block;
    margin-right: 15px;
    font-weight: bold;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #ccc;
    border-radius: 5px;
}

.badges {
    font-size: 11px;
    font-weight: 600;
    color: #838383;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 0.5em;
}

.text-cute {
    font-weight: 700;
    font-size: 1.2em;
    filter: drop-shadow(0px 0px 1px #0c0c0c);
}

/*
Make the theme mobile menu to sticky.
*/
.zn-res-menuwrapper {
    z-index: 999;
    position: fixed;
    background: rgba(0, 0, 0, .5);
    padding: 6px 6px 6px 16px;
    top: 0px;
    left: -4px;
    margin-top: 80px;
    border-radius: 6px;

}

/*
Table Mobile
==============
the cells will be displayed as block in small mobile. Doesn't work with rowspan, colspan, and striped.
 */

table.table-mobile th {
    font-size: 1.2em;
}

table.table-mobile td {
    font-size: 0.8em;
}

@media (max-width: 474px) {

    table.table-mobile th {
        width: 100%;
        display: block;
        text-align: center;
    }

    table.table-mobile td {
        width: 100%;
        display: block;
        text-align: center;
    }

    table.table-mobile ul {
        list-style-type: none;
        padding-left: 0px
    }
}

/*
Sidebar Fixes
*/

.woocommerce-product-search .gensearch__input::placeholder {
    visibility: hidden;
}

.woocommerce.widget_product_categories .cat-item a {
    color: #747474;
}

.zn_sidebar.no-style {
    padding: 0px;
    border-radius: 0px;
    margin-bottom: 0px;
    background: none;
    box-shadow: none;
}

table {
    font-size: 0.85em;
}

/*
Programme page tweak
*/
.single-product .circle-text-box .wpk-circle-title {
    height: 2em;
    margin: 1em 0 1em;
    font-size: 20px;
    font-weight: 600;
}

.single-product .tbk__text ul li {
    margin-bottom: 1em;
}

/*
Latest Post 2 Tweak
 */

.latest_posts2-date span {
    display: block;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2em;
    font-family: Verdana, Arial, Helvetica, sans-serifa;
    color: #cd2122;
}

.latest_posts2-date .day {
    font-size: 1.8em;
    color: #000000;
}

.latest_posts2-date .year {
    font-size: 0.8em;
}

.latest_posts2-post-text {
    font-size: 10px;
}

.post.latest_posts2-post {
    background-color: #fcfcfc;
    padding: 0.5em;
    margin-bottom: 0.5em;

}

.post.latest_posts2-post p {
    margin-bottom: 0px;
}

.latest-posts-crs-title {
    font-style: normal;
}

img.tst-carousel-img {
    width: 100;
    height: 100;
}

/*
 * GTranslate
 */

a.gflag {
    font-size: 24px;
    padding: 1px 0;
    background-repeat: no-repeat;
    background-image: url(/wp-content/plugins/gtranslate/24.png)
}

a.gflag
img {
    border: 0;
    height: 24px;
    display: inline
}

a.gflag:hover {
    background-image: url(/wp-content/plugins/gtranslate/24a.png)
}

img.gstats {
    display: none
}

a.alt_flag {
    background-image: url(/wp-content/plugins/gtranslate/alt_flags.png)
}

a.alt_flag:hover {
    background-image: url(/wp-content/plugins/gtranslate/alt_flagsa.png)
}

a.us_flag {
    background-position: -0px -100px
}

a.br_flag {
    background-position: -100px -100px
}

a.mx_flag {
    background-position: -200px -100px
}

a.glink {
    text-decoration: none
}

a.glink
span {
    margin-right: 5px;
    font-size: 15px;
    vertical-align: middle
}

a.glink
img {
    vertical-align: middle;
    display: inline;
    border: 0;
    padding: 0;
    margin: 0;
    opacity: 0.8
}

a.glink:hover
img {
    opacity: 1
}

ul.list-fix {
    padding-left: 1em;
}

/*
Testimonials
 */

.img-hover-zoom img {
    transition: all 0.3s;
    max-height: 312px;
}

.img-hover-zoom:hover img {
    transition: all 0.5s;
}

.testimonials,
.testimonials ul li {
    color: #424242;
}

.testimonials a {
    color: #000;
}

.testimonials a:hover {
    color: #cc0000;
}

.testimonials a img {
    border: 2px #d4d4d4 solid;
}

.testimonials a:hover img {
    border: 2px #cc0000 dashed;
}

#testimonial-search-form input,
#testimonial-search-form select {
    font-size: 1.3em;
}

.list-item {
    display: list-item;
}

.single-iukl_testimonial .personal-info {
    margin-top: 1em;
    padding: 1em;
    background-color: #fbfbfb;
}

.testimonial-author--photo.tst-carousel-photo {
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.testimonial-author--photo.tst-carousel-photo:hover {
    border: 2px #cc0000 dashed;
}

.testimonial-archive {
    min-height: 15em;
}

.tst-carousel-author {
    margin: 15px 0px;
    overflow: auto;
}

.tst-carousel-author .text.country a {
    color: #1B1B1B;
}

.tst-carousel-author .text.country a:hover {
    color: #cc0000;
}

.element-scheme--dark .text.country a {
    color: #ffffff;
}

.element-scheme--dark .text.country a:hover {
    color: yellow;
}

.znColumnElement-innerContent .element-scheme--dark a {
    color: #ffffff;
}

.znColumnElement-innerContent .element-scheme--dark a:hover {
    color: yellow;
}

.element-scheme--dark .testimonial-author--photo.tst-carousel-photo:hover {
    border: 3px dashed yellow;
}

.element-scheme--dark .tst-carousel-bqt {
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    border: none;
    border-radius: 5px;
}

h5.tst-carousel-title {
    font-size: 1em;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0px;
}

.reversed .tst-carousel-bqt:after {
    display: none;
}

.default .tst-carousel-bqt:after {
    content: ' ';
    position: absolute;
    width: 14px;
    height: 14px;
    margin-top: 2.45em;
    bottom: auto;
    left: 40px;
    border: 14px solid rgba(0, 0, 0, 0);
    border-top: #fff 14px solid;
}

.element-scheme--dark .default .tst-carousel-bqt:after {
    border-top: rgba(0, 0, 0, 0.2) 14px solid;
}

.element-scheme--dark .linked-product {
    color: #d2d2d2;
}

.reversed .tst-carousel-bqt:before {
    content: ' ';
    position: absolute;
    width: 14px;
    height: 14px;
    bottom: auto;
    margin-top: -38px;
    border: 14px solid rgba(0, 0, 0, 0);
    border-bottom: #fff 14px solid;
}

.element-scheme--dark .reversed .tst-carousel-bqt:before {
    border-bottom: rgba(0, 0, 0, 0.2) 14px solid;
}

blockquote.tst-carousel-bqt {
    margin: 25px 2px;
}

.element-scheme--light blockquote.tst-carousel-bqt {
    background-color: #fff;
    border-radius: 5px;
    border: rgba(0, 0, 0, 0.2) 1px solid;
}

/*
Testimonial Searchbar
 */

#testimonial-search-bar {
    margin-bottom: 2em;
}

.webway-form .select-card,
.webway-form .select-card a,
.webway-form .selected {
    color: #000;
}

.webway-form .selected:hover,
.webway-form .select-card a:hover {
    cursor: pointer;
}

.webway-form .selected {
    display: block;
    width: 100%;
    padding: 0.4em 1em;
    border: 1px #ccc solid;
    border-radius: 5px;
    font-size: 1em;
    background-color: #fff;
    background-image: url(https://klust.edu.my/wp-content/uploads/2018/08/arrow-down.png);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    background-size: 1.5em;
}

.webway-form .select-card {
    margin-top: 0em;
    margin-left: 0em;
    position: absolute;
    width: 90%;
    overflow: scroll;
    z-index: 10000;
    background-color: #FEFEFE;
    border: #ccc 1px solid;
    border-radius: 5px;
    box-shadow: #ccc 1px 1px 10px 1px;
    padding: 5px 0px;
    font-size: 1.2em;
    color: #000;
    max-height: 15em;
}

.webway-form .select-card .option {
    font-size: 0.8em;
    display: block;
    padding: 0em 1em;
    border-bottom: rgba(0, 0, 0, 0.1) 1px dashed;
}

.webway-form .select-card .option:hover {
    background-color: #0d99fb;
    color: #fff;
}

@media (max-width: 767px) {

    .responsive-tabs.tabbable.hr-tabs .hr-tabs-nav-item {
        display: block;
    }

    .responsive-tabs.tabbable.hr-tabs .hr-tabs-nav-item.active {
        box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 10px 0px;
    }

    .responsive-tabs.tabbable.hr-tabs .hr-tabs-nav-item.active a {
        background-color: #cc0000;
        color: #fff;
    }

    .responsive-tabs.tabbable.hr-tabs .hr-tabs-nav-item.active a::after {
        content: ' ';
        display: block;
        position: absolute;
        right: 3em;
        top: 3em;
        border: 1.2em solid rgba(0, 0, 0, 0);
        border-top-color: #c00;
    }
}

.iukl-related-post.page .flag {
    background-color: #1c1c1c;
    color: #fff;
}

.iukl-related-post.page .flag::after {
    border-top-color: #1B1B1B;
    border-right-color: #1B1B1B;;
}

.iukl-related-post.post .flag {
    background-color: #3071a9;
    color: #fff;
}

.iukl-related-post.post .flag::after {
    border-top-color: #285e8e;
    border-right-color: #285e8e;
}

.iukl-related-post.iukl_testimonial .flag {
    background-color: #ff4d00;
    color: #fff;
}

.iukl-related-post.iukl_testimonial .flag::after {
    border-top-color: #d64100;
    border-right-color: #d64100;
}

.iukl-related-post.product .flag::before {
    content: "☆";
    margin-right: 5px;
}

.wp-caption,
.caption {
    color: #1c1c1c;
    font-size: 0.9em;
    font-style: oblique;
    margin-bottom: 1em;
    border-bottom: rgba(0, 0, 0, 0.1) 1px solid;
}

.wp-caption p,
.caption p {
    margin-bottom: 10px;
}

/*
The IUKL Side-Menu
 */
div.iukl-sidemenu.widget ul.menu li a {
    color: #444;
    display: block;
    padding: 10px 15px;
    margin-bottom: 3px;
    position: relative;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    transition: color .15s cubic-bezier(0.77, 0, 0.175, 1);
    overflow: hidden;
    margin-left: 0px;
}

div.iukl-sidemenu.widget ul.menu li a::before {
    margin-left: unset;
    content: none;
}

div.iukl-sidemenu.widget ul.menu li a:hover,
div.iukl-sidemenu.widget ul.menu li.active a {
    background-color: #cc3333;
    color: #fff;
}

.iukl-sidemenu h3.widgettitle {
    color: #000;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4em;
    line-height: 1.6em;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
}

.iukl-form input,
.iukl-form select,
.iukl-form button {
    margin-top: 1em;
}

.searchbar.colouring {
    width: 100%;
    display: inline-block;
    padding-bottom: 1em;
}

@media (min-width: 768px) {

    .logo-container .logo-infocard {
        width: 1140px;
        padding: 25px 20px;
        margin-left: -50%
    }
}

@media (max-width: 991px) {
    .main-nav > ul > .menu-item > a {
        font-size: 10px !important;
    }
}

.acc--styleiukl .acc-group > button {
    display: none;
}

.acc--styleiukl .acc-group > button.collapsed {
    padding: 10px 30px;
    display: block;
    border: #cccc 3px dashed;
    border-radius: 2px;
    background-color: #fff;
}

.iukl-related-post-date {
    text-transform: uppercase;
    font-size: 0.85em;
    color: #808080;
}

.blog-flag {
    background-color: #c00;
    color: #fff;
    padding: 0.2em 2em;
    position: absolute;
    display: block;
    top: 0px;
    transform: rotate(-25deg);
    margin-top: 30px;
    font-size: 0.9em;
    box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 5px;
}

i.blog-flag-icon.flag-icon {
    position: absolute;
    left: 1em;
    margin-top: -2em;
    font-size: 2em;
    box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 5px;
}

.topnav-li.social-icons-li small {
    margin-right: 5px;
}

.topnav-li.social-icons-li small a {
    color: #000;
}

.topnav-li.social-icons-li small a:hover {
    color: #cd0000;
}

@media (max-width: 991px) {
    .topnav-li.social-icons-li small a {
        font-size: 10px;
    }
    a.topnav-item.social-icons-item {
        font-size: 11px !important;
        width: 22px;
        height: 22px;
    }
    #ctabutton {
        top: -0.2em !important;
    }
    .topnav .menu-item.menu-item-type-custom {
        margin-left: 4px;
        margin-right: 4px;
    }
}

.site-header .topnav.social-icons .social-icons-li:nth-child(1) a {
    color: #00AA00;
}

.site-header .topnav.social-icons .social-icons-li:nth-child(2) a {
    color: #0D72B2;
}

.site-header .topnav.social-icons .social-icons-li:nth-child(3) a {
    color: #00ccff;
}

.site-header .topnav.social-icons .social-icons-li:nth-child(4) a {
    color: #cd0000;
}

.site-header .topnav.social-icons .social-icons-li:nth-child(5) a {
    color: #000000;
}

#cn-menu {
    box-shadow: rgba(0,0,0,0.3) 1px 1px 1px;
    background-color: #ffffff;
    padding: 10px;
    z-index: 1000;
    min-width: 180px;
    margin-left: -60px;
    margin-top: -2px;
    position: absolute;
    top: inherit;
    right: inherit;
    display: none;
}

#cn-menu a {
    display: block;
    color: #000;
    font-size: 13px;
}

#cn-menu a {
    display: block;
    color: #000;
    font-size: 13px;
}

#cn-menu a:hover {
    color: #cd0000;
}

#cn-menu a.link:not(:last-child) {
    border-bottom: #EEEEEE 1px solid;
}

#cn-tab {
    cursor: pointer;
}

#cn-tab:hover #cn-menu {
    display: block;
}

#cn-tab a:hover i {
    filter: contrast(120);
}
