/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.ring_b {
    display: flex;
    align-items: center;
}
.ring_b:before {
    content: "";
    background: url(imgs/ring.png);
    width: 29px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    padding-right: 25px;
    border-right: 2px solid #ffdc3d;
    margin-right: 5px;
}

header#masthead{
	box-shadow: 1px 1px 10px rgba(0,0,0,.15);
	left: 0;
	margin: 0 auto;
	position: fixed;
	right: 0;
	top: 0;
	animation-name: stuckFadeIn;
}
@keyframes stuckFadeIn {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}


.hide-desktop{
    display: none;
}

#ez-toc-container{
    width: 100%;
}


.custom-menu-footer ul.elementor-icon-list-items{
    background-color: #181a1f;
    border-top: 1px solid #7ca6a2;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
}
.custom-menu-footer ul.elementor-icon-list-items li{
    flex-direction: column;
    flex: 1;
    margin: 0 !important;
}
.custom-menu-footer ul.elementor-icon-list-items li a{
    
    text-align: center;
    color: #fff;
    padding: 5px;
}
.custom-menu-footer ul.elementor-icon-list-items li .elementor-icon-list-icon{
    font-size: 18px;
    height: 22px;
    width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-menu-footer ul.elementor-icon-list-items li:nth-child(3) .elementor-icon-list-icon i{
    background: url(imgs/icon-m88.png);
    background-size: 45px 45px;
    display: block;
    width: 45px;
    height: 45px;
    max-width: 45px;
    left: 20px;
  position: relative;
}
.custom-menu-footer ul.elementor-icon-list-items li:nth-child(3) .elementor-icon-list-icon i:before{
    display: none;
}
.custom-menu-footer ul.elementor-icon-list-items li:nth-child(3) .elementor-icon-list-icon{
    margin-top: -16px;
    padding: 5px;
    position: relative;
    display: block;
    width: auto;
  height: auto;
}
.custom-menu-footer ul.elementor-icon-list-items li:nth-child(3) .elementor-icon-list-icon:before{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #181a1f;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid #7ca6a2;
    z-index: -2;
    top: 0;
}
.custom-menu-footer ul.elementor-icon-list-items li:nth-child(3) .elementor-icon-list-icon:after{
    width: 54px;
  height: 68px;
  content: "1";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: #181a1f;
  z-index: -1;
  top: 16px;
}


body.post-template-default h1,
body.post-template-default h2,
body.post-template-default h3{
    color: #2b3240;
}
body.archive h1,
body.archive h2,
body.archive h3{
    color: #2b3240;
}

.marquee {
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
}

.marquee .ring_b span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

.white-heading h1,
.white-heading h2,
.white-heading h3,
.white-heading h4,
.white-heading h5,
.white-heading h6{
	color:#fff;
}

div#ez-toc-container .ez-toc-title{
    color:#222222;
}


/* Make it move */
@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}



#nwm-post-shortcode{
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            grid-gap: 20px;
        }
        #nwm-post-shortcode .item{
        }
        #nwm-post-shortcode .item .item-thumbnail img{
            border-radius: 10px;
            max-width: 100%;
            width: 100%;
            height: 150px;
            object-fit: cover;
        }
        #nwm-post-shortcode .item .item-title a{
            font-size: 16px;
            line-height: 22px;
            color: #FFB648;
            display: block;
            text-align: center;
            -webkit-transition: all .3s ease 0s;
               -moz-transition: all .3s ease 0s;
                -ms-transition: all .3s ease 0s;
                 -o-transition: all .3s ease 0s;
                    transition: all .3s ease 0s;
        }
        #nwm-post-shortcode .item .item-title a:hover{
            color: #fff;
            -webkit-transition: all .3s ease 0s;
               -moz-transition: all .3s ease 0s;
                -ms-transition: all .3s ease 0s;
                 -o-transition: all .3s ease 0s;
                    transition: all .3s ease 0s;
        }
        
                
        /* Landscape phones and portrait tablets */
        @media (max-width: 767px) {
            #nwm-post-shortcode{
                grid-template-columns: 1fr 1fr;
            }
        }
        
        /* Landscape phones and smaller */
        @media (max-width: 480px) {
            #nwm-post-shortcode{
                grid-template-columns: 1fr;
            }
            #nwm-post-shortcode .item .item-thumbnail img{
                height: auto;
            }
        }

/*-----------------------*\
    RESPONSIVE
\*-----------------------*/

/* Large desktops and laptops */
@media (min-width: 1200px) {

}

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {

}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
    .hide-in-table-mobie{
        display: none;
    }
    .hide-desktop{
        display: block;
    }

}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    .hide-in-table-mobie{
        display: none;
    }
    .hide-desktop{
        display: block;
    }
}

/* Landscape phones and smaller */
@media (max-width: 480px) {

}