.all-menu-grid h4,
.menu-grids {
    font-family: lato, sans-serif
}

body.modal-open {
    overflow: hidden!important;
    height: 100%;
    width: 100%
}

.modal.fade.header-menu-right {
    top: 0;
    opacity: 1
}

.header-menu-right .modal-content, #popmake-239 {
    box-shadow: 0 0 40px rgba(129, 176, 178, .4);
    padding: 25px;
    background: #fff;
    border-radius: 20px;
    float: left;
    width: 100%;
    overflow: auto;
    max-height: 94vh
}


.header-menu-right button.close {
    border: 3px solid #5f0f41;
    padding: 0 8px 12px;
    color: #fff;
    opacity: 1;
    line-height: 20px;
    border-radius: 97px;
    float: right;
    position: fixed;
    right: 40px;
    background: #5f0f41;
    top: 30px;
    width: 40px;
    height: 40px
}
#popmake-239 .pum-close {
    border: 3px solid #5f0f41;
    padding: 0 8px 12px;
    color: #fff;
    opacity: 1;
    border-radius: 97px;
    float: right;
    position: absolute;
    right: 40px;
    background: #5f0f41;
    top: 25px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    line-height: 34px;
}


.header-menu-right button.close span {
    color: #fff!important;
    font-size: 30px!important;
    position: relative;
    top: 7px
}

.header-menu-right .modal-header {
    position: absolute;
    width: 100%;
    border: 0;
    float: left;
    padding: 0;
    left: 0;
    top: 40px
}

.all-menu-grid ul {
    list-style: none;
    float: left;
	padding:0px;
    width: 100%
}

.all-menu-grid ul li {
    width: 48%;
    float: left;
    text-align: center;
    margin: 20px 0
}

.all-menu-grid ul li:nth-child(even) {
    margin-left: 4%
}

.menu-grids {
    float: left;
    width: 100%;
    padding: 0 50px;
    background-repeat: no-repeat;
    background-size: 100% 100%!important;
    margin: 10px 0
}

.all-menu-grid ul li a {
    padding: 50px 15px;
    float: left;
    width: 100%;
    font-size: 26px;
    border: 1px solid rgba(5, 84, 100, .09);
    border-radius: 10px;
    -moz-box-shadow: 0 0 20px #05546426;
    -webkit-box-shadow: 0 0 20px #05546426;
    -o-box-shadow: 0 0 20px #05546426;
    box-shadow: 0 0 20px #05546426;
    background: #fff;
    color: #560237;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s
}

.all-menu-grid ul li a:focus,
.all-menu-grid ul li a:hover {
    background: #560237
}

.all-menu-grid .features-menu ul li a {
    -webkit-box-shadow: 0 0 20px rgba(1, 183, 112, .15);
    -o-box-shadow: 0 0 20px rgba(1, 183, 112, .15);
    box-shadow: 0 0 20px rgba(1, 183, 112, .15);
    color: #01b770;
    border: 1px solid rgba(1, 183, 112, .09)
}

.all-menu-grid .features-menu ul li a:focus,
.all-menu-grid .features-menu ul li a:hover {
    background: #01b770
}

.all-menu-grid .itworks-menu ul li a {
    -webkit-box-shadow: 0 0 20px rgba(213, 9, 95, .15);
    -o-box-shadow: 0 0 20px rgba(213, 9, 95, .15);
    box-shadow: 0 0 20px rgba(213, 9, 95, .15);
    color: #d5095f;
    border: 1px solid rgba(213, 9, 95, .09)
}

.all-menu-grid .itworks-menu ul li a:focus,
.all-menu-grid .itworks-menu ul li a:hover {
    background: #d5095f
}

.all-menu-grid .video-collection ul li a {
    -webkit-box-shadow: 0 0 20px rgba(213, 9, 95, .15);
    -o-box-shadow: 0 0 20px hsla(27, 91%, 48%, 0.15);
    box-shadow: 0 0 20px hsla(27, 91%, 48%, 0.15);
    color: #ea700b;
    border: 1px solid rgba(234, 112, 11, 0.09)
}

.all-menu-grid .video-collection ul li a:focus,
.all-menu-grid .video-collection ul li a:hover {
    background: #ea700b
}

.all-menu-grid .about-advids-menu ul li a {
    -webkit-box-shadow: 0 0 20px rgba(9, 158, 213, .15);
    -o-box-shadow: 0 0 20px rgba(9, 158, 213, .15);
    box-shadow: 0 0 20px rgba(9, 158, 213, .15);
    color: #099ed5;
    border: 1px solid rgba(9, 158, 213, .09)
}

.all-menu-grid .about-advids-menu ul li a:focus,
.all-menu-grid .about-advids-menu ul li a:hover {
    background: #099ed5
}

.all-menu-grid ul li a:focus,
.all-menu-grid ul li a:hover {
    text-decoration: none!important;
    color: #fff!important
}

.all-menu-grid h4 {
    text-transform: uppercase;
    font-size: 30px;
    color: #515151;
    font-weight: 500;
    margin-bottom: 0
}

.menu-grids.start-menu {
    background: url(/wp-content/themes/thestory/images/start-menu.png);
    padding-top: 60px
}

.menu-grids.features-menu {
    background: url(/wp-content/themes/thestory/images/features-menu.png)
}

.menu-grids.itworks-menu {
    background: url(/wp-content/themes/thestory/images/itworks-menu.png)
}

.menu-grids.video-collection {
    background: url(/wp-content/themes/thestory/images/video-collection.png)
}

.menu-grids.about-advids-menu {
    background: url(/wp-content/themes/thestory/images/about-advids-menu.png);
    padding-bottom: 10px;
    margin-bottom: 0
}

#popmake-239 {
    width: auto;
	margin: 30px auto !important;
	position:relative;
	border:0px;
}

#popmake-239 {
    margin-left: auto;
    width: auto;
    top: auto !important;
    left: auto !important;
	float:none !important;
}



@media only screen and (min-width:1025px) {
    .header-menu-right .modal-dialog, #popmake-239 {
        width: 920px!important
    }
}

@media only screen and (min-width:768px) and (max-width:1024px) {
    .menu-grids {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 30px
    }
    .all-menu-grid h4 {
        font-size: 26px
    }
    .all-menu-grid ul li a {
        padding: 35px 5px;
        font-size: 22px
    }
    .all-menu-grid ul li {
        margin: 10px 0
    }
    .all-menu-grid ul li:nth-child(even) {
        margin-left: 4%
    }
    .header-menu-right .modal-header {
        top: 60px
    }
}

@media only screen and (max-width:767px) {
    .all-menu-grid ul li a {
        padding: 15px;
        font-size: 18px
    }
    .all-menu-grid ul li {
        margin: 10px 0;
        width: 100%
    }
    .all-menu-grid h4 {
        font-size: 24px;
        margin-bottom: 10px
    }
    .header-menu-right button.close, #popmake-239 .pum-close {
            padding: 6px 9px 8px;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    }
    .header-menu-right button.close span {
        font-size: 24px;
        top: 3px
    }
    .all-menu-grid ul li:nth-child(even) {
        margin-left: 0
    }
    .menu-grids {
        margin: 5px 0;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 30px
    }
}