.mfp-wrap {
    background-color: #f45900;
}

.mfp-close {
    width: auto;
    height: auto;
}

.mfp-close-btn-in .mfp-close {
/*     position: absolute; */
    position: relative;
    color: #ffffff !important;
    font-size: 44px;
    line-height: 34px;
    opacity: 1;
    margin-top: -2px;
/*
    right: 10px;
*/
}

/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    vertical-align: top;
    opacity: 0;
    /* -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out; */
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

.overlay {
    color: #ffffff;
    width: 100%;
    height: 100%;
    margin: 0 auto;
/*
    width: 90%;
    height: 90%;
*/
    margin: 0 auto;
/*     margin-top: 74px; */
}

.overlay h1 a {
    text-indent: 110%;
    white-space: nowrap;
    overflow: hidden;
    background-image: url(../images/gearpatrol-logo-white-2x.png);
    background-repeat: no-repeat;
    background-size: 175px 32px;
    display: block;
    width: 175px;
    height: 32px;
    transition: .1s ease-in 0;
    -moz-transition: .1s ease-in 0;
    -webkit-transition: .1s ease-in 0;
}

.overlay #best-of {
    margin: 40px 0 30px;
}

.overlay #magazine,
.overlay #newsletter {
    width: 650px;
    margin: 10px auto 10px;
    padding-bottom: 20px;
    display: block;
    overflow: hidden;
}

.overlay #magazine {
    border-bottom: 1px solid #fff;
}

.overlay p {
    font-family: 'Gotham A','Gotham B';
    font-size: 14px;
    line-height: 22px;
    text-align: left;
}

.overlay h2 {
    font-family: 'Knockout 49 A','Knockout 49 B', 'Arial Narrow';
    font-weight: 400;
    color: #ffffff;
    font-size: 46px;
    line-height: normal;
    margin: 10px 0 0 0;
    padding: 0;
    text-align: left;
}

.overlay #best-of ul,
.overlay #popular-searches ul {
    padding: 0 0 10px 0;
    text-align: left;
    margin: 10px 0;
    border-bottom: 1px solid #fff;
}

.overlay #best-of ul li,
.overlay #popular-searches ul li {
    display: inline-block;
    margin-right: 22px;
}

.overlay #best-of ul li a,
.overlay #popular-searches ul li a {
    color: #ffffff;
    font-family: 'Gotham A','Gotham B';
    font-size: 14px;
    font-weight: 400;
	letter-spacing: -0.02em;
}

.overlay #best-of ul li a:hover,
.overlay #popular-searches ul li a:hover {
	border-bottom: 3px solid #fff;
	padding-bottom: 3px;
}

.overlay #best-of ul ul,
.overlay #popular-searches ul ul {
    display: inline;
}


.overlay #searchform .screen-reader-text {
    display: none;
}

.overlay #searchform input[type=submit],
.overlay #subform button[type=submit] {
    border-radius: 0;
    text-transform: uppercase;
    font-size: 24px;
    line-height: 28px;
    height: 59px;
    letter-spacing: 0;
    font-weight: 400;
    font-family: 'Knockout 49 A','Knockout 49 B', 'Arial Narrow';
    vertical-align: middle;
    color: #ffffff;
    background: none;
    padding: 2px 0px 2px 0px;
    border-bottom: 1px solid #fff;
    border-top: none;
    border-right: none;
    border-left: none;
    margin-left: -3px;
}

.overlay #searchform input[type=text],
.overlay #subform input[type=email] {
    outline: none !important;
    background: none !important;
    border: 0px !important;
    border-bottom: 1px #ffffff solid !important;
    font-size: 24px !important;
    font-family: 'Knockout 49 A','Knockout 49 B', 'Helvetica';
    font-weight: 400;
    letter-spacing: 0px;
    text-transform: uppercase;
    color: #ffffff !important;
    width: 583px;
    height: 56px;
}

.overlay ::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #F98260;
    opacity: 1;
}

.overlay :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #F98260;
    opacity: 1;
}

.overlay ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #F98260;
    opacity: 1;
}

.overlay :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #F98260;
    opacity: 1;
}

#search-content {
    width: 650px;
    margin: 0 auto;
    padding: 0;
    border-top: 5px solid #fff;
}

#search-container #menu-main nav ul.menu {
    margin-top: -10px;
}

#subscribe-content {
    text-align: center;
}

#subscribe-content h2 {
    font-size: 46px;
}

#subscribe-content ul#social-links {
    width: 650px;
    margin: 0 auto;
    margin-bottom: 40px;
    overflow: hidden;
    padding: 12px 0;
    list-style-type: none;
    text-align: center;
    border-top: 5px solid #fff;
    border-bottom: 1px solid #fff;
}

#subscribe-content ul#social-links li {
    display: inline;
    margin-right: 0.9em;
}

#subscribe-content ul#social-links li:last-child {
    margin-right: 0;
}

#subscribe-content ul#social-links li a {
    font-family: 'Knockout 49 A','Knockout 49 B', 'Arial Narrow';
    font-size: 24px;
    color: #ffffff;
    text-transform: uppercase;
}

#subscribe-content ul#social-links li a:hover {
    padding-bottom: 12px;
    border-bottom: 5px solid #fff;
}

#subscribe-content input[type=text] {
    outline: none !important;
    background: none !important;
    border: 0px !important;
    border-bottom: 1px #ffffff solid !important;
    font-size: 28px !important;
    font-family: 'Knockout 47 A','Knockout 47 B', 'Arial Narrow';
    letter-spacing: 1px;
    color: #ffffff !important;
    width: 88%;
}

#subscribe-content input[type=submit],
#subscribe-content button {
    border-radius: 0;
    text-transform: uppercase;
    font-size: 22px;
    line-height: 28px;
    height: 34px;
    letter-spacing: 0;
    font-weight: 400;
    font-family: 'Knockout 49 A','Knockout 48 B', 'Arial Narrow';
    vertical-align: bottom;
    color: #ffffff;
    background: none;
    padding: 2px 10px 2px 10px;
    border: 1px solid white;
}

#subscribe-content a > button {
    margin: 11px 0;
    float: left;
    white-space: nowrap;
    display: inline-block;
}