/* 
Theme Name: Glide Magazine Theme
Theme URI: https://glidemagazine.com
Description: Custom theme for Glide Magazine
Author: Alan Quirk Design
Author URI: https://alanquirk.com/
Template: hello-elementor
Version: 1.0.5
Text Domain: glide-magazine
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* Standard */

body {
    font-family:  var(--e-global-typography-text-font-family), Roboto, sans-serif;
    color: #54595F;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}
  
h1, h2, h3, h4, h6 {
    font-family:  var(--e-global-typography-primary-font-family), sans-serif;
    font-weight: 400;
    color: #800000;
}

h5 {
    font-family:  var(--e-global-typography-primary-font-family), sans-serif;
    font-style: italic;
    font-weight: 400;
}

h1 {
    font-size: 42px;
    line-height: 1.3;
    text-transform: uppercase;
}

h2 {
    font-size: 32px;
    line-height: 1.8;
    margin-bottom:0px;
    text-transform: uppercase;
    color: #54595F;
}

h3,
.elementor-posts h3.elementor-post__title {
    font-size: 22px;
    line-height: 1.8;
    letter-spacing: 0.25px;
    margin-bottom:0px;
    text-transform: uppercase;
}

h4,
.elementor-posts h4.elementor-post__title {
    font-size: 19px;
    line-height: 1.8;
    letter-spacing: 0.25px;
    margin-bottom:0px;
}

h5 {
    font-size: 18px;
    line-height: 1.8;
    color: #54595F;
    margin-bottom:0px;
}

h6 {
    font-family:  var(--e-global-typography-text-font-family), Roboto, sans-serif;
    color: #800000;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0;
}

a {
    color: #800000;
    text-decoration: underline;
}

a:hover,
a:active {
    color: #B7B7B7;
    text-decoration: underline;
}

a:visited {
    color: #600000;
    text-decoration: underline;
}

ul {
    margin-bottom: 18px;
    line-height: 24px;
}

button, 
[type="submit"], 
[type="button"] {
    background-color: #800000;
    color: #ffffff;
    font-size: 15px;
    border-radius: 0px 0px 0px 0px;
    padding: 0 30px;
    border: none;
    min-height: 50px;
}

button:hover, 
button:focus, 
[type="submit"]:hover, 
[type="submit"]:focus, 
[type="button"]:hover, 
[type="button"]:focus {
    background-color: #54595f;
}

input[type="text"], 
input[type="date"], 
input[type="email"], 
input[type="number"], 
input[type="password"], 
input[type="search"], 
input[type="tel"], 
input[type="url"], 
select, 
textarea {
    border-color: #54595f;
    border-radius: 0;
}



/* Main Header */


.elementskit-navbar-nav-default.elementskit_fill_arrow .elementskit-submenu-indicator::before {
    content: "\f0d7" !important;
    font-family: 'Font Awesome 5 Free';
    font-size: 15px;
}


#mega-menu-wrap-menu-1, 
#mega-menu-wrap-menu-1 #mega-menu-menu-1, 
#mega-menu-wrap-menu-1 #mega-menu-menu-1 ul.mega-sub-menu {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
    font-family:  var(--e-global-typography-primary-font-family), sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
    content: '\f140';
}


ul.mega-sub-menu li.mega-menu-item h2 a,
ul.mega-sub-menu li.mega-menu-item .elementor-post__title a {
    transition: 0.2s;
}

ul.mega-sub-menu li.mega-menu-item .elementor-post__title a:hover {
    color: #ffffff;
}

ul.mega-sub-menu li.mega-menu-item h2 a:hover {
    color: #ffffff;
}




/* Homepage */

/* -- Slider */

.swiper-container {
    width: 100%;
    height: 500px;
}

.swiper-slide {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.swiper-slide a {
    margin: 0 3em 2em 0;
    font-family:  var(--e-global-typography-primary-font-family), sans-serif;
    font-weight: 400;
    line-height: 1.2em;
    font-size: 24px;
    letter-spacing: 0.25px;
    padding: 0.6em 1em 0.6em 3em;
    background: rgba(0,0,0,0.75);
    color: #ffffff;
}

.homepage-carousel .swiper-button-next, 
.homepage-carousel .swiper-button-prev {
    background-color: rgba(255,255,255,0.8);
    background-image: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    transition: .2s;
}

.homepage-carousel .swiper-button-next:hover, 
.homepage-carousel .swiper-button-prev:hover {
    background-color: rgba(255,255,255,1);
}

.homepage-carousel .swiper-button-next:after, .homepage-carousel .swiper-container-rtl .swiper-button-prev:after,
.homepage-carousel .swiper-button-prev:after, .homepage-carousel .swiper-container-rtl .swiper-button-next:after {
    content: none;
}

.homepage-carousel .swiper-button-next {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    right: 0;
}

.homepage-carousel .swiper-button-prev {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    left: 0;
}

.homepage-carousel .swiper-button-next svg, 
.homepage-carousel .swiper-button-prev svg {
    width: 50px;
    height: 30px;
}

.swiper-button-next, 
.swiper-button-prev, 
.swiper-container-rtl .swiper-button-prev, 
.swiper-container-rtl .swiper-button-next {
    fill: #800000;
}


/* -- Video */


.homepage-video iframe {
    height: 416px;
}

.home-video-content {
    margin-top: 20px;
}

.home-video-content p, 
.home-video-content p a {
    color: #ffffff;
}

.home-video-content p a {
    font-weight: 600;
}



/* -- Sidebar */

.elementor-search-form__container {
    overflow: initial !important;
}

input.elementor-search-form__input {
    height: 100%;
}

.ep-autosuggest-container {
    display: flex;
    flex-grow: 2;
}

.ep-autosuggest {
    top: 50px;
}


.elementor-widget-wp-widget-archives h5 {
    font-family:  var(--e-global-typography-primary-font-family), sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

ul.wpp-list {
    margin: 0;
    padding: 0;
}

ul.wpp-list li a.wpp-post-title {
    color: #800000;
    font-size: 14px;
    font-family:  var(--e-global-typography-text-font-family), Roboto, sans-serif;
}

ul.wpp-list .wpp-category {
    font-weight: 300;
    font-size: 11px;
}

ul.wpp-list .wpp-category a {
    font-weight: 500;
    color: #333333;
}


.archive-sidebar select {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family:  var(--e-global-typography-text-font-family), Roboto, sans-serif;
    margin: 0;
    padding: 15px 20px;
    line-height: 1;
    cursor: pointer;
    color: #ffffff;
    background: #800000;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 0;
}



/* Twitter

.timeline-Widget {
    background: transparent;
}

.timeline-Widget a {
    color: #800000;
}

*/






/* Post Template */

.elementor-widget-theme-post-content p:first-of-type, 
.elementor-widget-theme-post-content p:first-of-type span {
    font-weight: 600 !important;
}


.rating span { 
    color: #600000; 
    font-size: 20px;
    margin-right: 1px;
}

.rating span.empty {
    color: #b7b7b7;
}


.article-image {
    background-size: cover;
    background-position: center center;
}




/* Post Gallery */

.gallery { margin: 0 auto 18px; }
.gallery .gallery-item {
    float: left;
    margin-top: 0;
    text-align: center;
    width: 33%;
    margin: 0 0 20px;
}
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-4 .gallery-item { width: 25%; }

.gallery img {
    box-shadow: none;
    border-radius: 4px !important;
    transition: 0.2s;
}
.gallery img:hover {
    box-shadow: 0px 3px 10px rgba(0,0,0,0.25);
}
.gallery-columns-2 .attachment-medium {
    max-width: 92%;
    height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
    max-width: 84%;
    height: auto;
}
.gallery .gallery-caption {
    color: #888;
    font-size: 12px;
    margin: 0 0 12px;
}
.gallery dl, .gallery dt { margin: 0; }
.gallery br+br { display: none; }



.elementor-260406 .elementor-element.elementor-element-c34fe2b {
    margin-left: auto;
    padding-right: 50px;
}


/* Archive Template */

@media only screen and (max-width: 767px) {

    .elementor-widget-archive-posts .elementor-posts .elementor-post,
    .elementor-element-4b8b4d73.elementor-widget-posts .elementor-posts .elementor-post,
    .elementor-tab-content article.elementor-post  {
        display: flex;
        flex-flow: column;
    }
    
    .elementor-widget-archive-posts .elementor-posts .elementor-post a.elementor-post__thumbnail__link,
    .elementor-tab-content article.elementor-post a.elementor-post__thumbnail__link {
        margin-bottom: 20px;
    }  

}



ul.year-archive {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: wrap;
}

ul.year-archive li {
    background: #54595F;
    margin: 0 14px 10px 0;
    border-radius: 4px;
    transition: .2s;
}

ul.year-archive li a {
    color: #ffffff;
    padding: 0px 15px;
}

ul.year-archive li:hover {
    background: #d9d9d9;
}

ul.year-archive li:hover a {
    color: #800000;
}




/* Author archive dropdown */


.filter-author-box h5,
.filter-archive-box h5 {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family:  var(--e-global-typography-text-font-family), Roboto, sans-serif;
    margin: 0;
    padding: 15px 20px;
    line-height: 1;
    cursor: pointer;
    color: #ffffff;
    background: #800000;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.5px;
}

.filter-author-box h5:after,
.filter-archive-box h5:after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
}


ul.archive-dropdown-options,
ul.author-dropdown-options {
    display: none;
    width: 100%;
    height: auto;
    list-style: none;
    line-height: 1.4em;
    margin: 0;
    padding: 0;
    border: 1px solid #000;
    border-top: none;
    color: #a1a1a1;
    background: #ffffff;
    position: absolute;
    z-index: 99;
    max-height: 300px;
    overflow-y: scroll;
    box-shadow: 0 0 10px rgba(0,0,0,0.1)
}

ul.archive-dropdown-options li,
ul.author-dropdown-options li {
    padding: 6px 10px;
    z-index: 2;
}

ul.archive-dropdown-options li a,
ul.author-dropdown-options li a {
    width: 100%;
    /* display: block; */
    color: #2a323c;
    padding: 0 5px;
}

ul.archive-dropdown-options li:hover,
ul.author-dropdown-options li:hover {
    background: rgba(128, 0, 0, 0.05);
}

ul.archive-dropdown-options li a:hover,
ul.author-dropdown-options li a:hover {
    text-decoration: underline;
}

ul.archive-dropdown-options::-webkit-scrollbar,
ul.author-dropdown-options::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}

ul.archive-dropdown-options::-webkit-scrollbar-thumb,
ul.author-dropdown-options::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .5);
  box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}



/* Adverts */

div#mmt-e157fc6c-13ba-41cd-82ed-4d22bf6d7746 {
    margin: 0 !important;
}