/* ========================================================================
   IRISH TIMES: Microsite Nav
 ========================================================================== */

 .menu {
    background: #1c1c1c;
    z-index: 50;
    position: fixed;
    top: 0;
}

.menu .fw-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 599px) {
    .menu .fw-container {
        flex-direction: column;
    }
}

.menu-wrapper {
    width: auto;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    font-family: "Lato", Helvetica, Arial, sand-serif;
}

.menu input {
    width: 45px !important;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    opacity: 0;
    -webkit-touch-callout: none;
}

.menu input:checked~nav {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    pointer-events: auto;
}

.menu input:checked~label .navicon {
    background: transparent;
}

.menu input:checked~label .navicon:before,
.menu input:checked~label .navicon:after {
    top: -8px;
    height: 20px;
    border-radius: 9px;
    width: 3px;
}

.menu input:checked~label .navicon:before {
    transform: rotate(-45deg);
}

.menu input:checked~label .navicon:after {
    transform: rotate(45deg);
}

.menu label {
    cursor: pointer;
    display: inline-block;
    padding: 0 20px;
    user-select: none;
    display: flex;
    align-items: center;
    font-size: 20px;
}

@media screen and (max-width: 599px) {
    .menu label {
        padding: 5px 20px 0 20px;
    }
}

.menu label .navicon {
    background: #fff;
    display: block;
    height: 5px;
    position: absolute;
    border-radius: 50%;
    opacity: 1;
    transition: background 0.2s ease-out;
    width: 5px;
    right: 0;
    transition: all 0.35s ease;
}

.menu label .navicon:before,
.menu label .navicon:after {
    background: #fff;
    border-radius: 50%;
    content: "";
    display: block;
    opacity: 1;
    height: 100%;
    position: absolute;
    transition: all 0.2s ease-out;
    width: 100%;
    transition: all 0.35s ease;
}

.menu label .navicon:before {
    top: 8px;
}

.menu label .navicon:after {
    top: -8px;
}

.menu nav {
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    padding: 15px;
    z-index: 99;
    pointer-events: none;
    top: 50px;
    right: 0;
    left: 0;
    height: calc(100vh - 50px);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: rgba(28, 28, 28, 0.988235);
    font-size: 150%;
}

@media screen and (max-width: 599px) {
    .menu nav {
        top: 80px;
    }
}

.menu nav ul {
    margin: 0;
    padding: 0;
}

.menu nav li {
    display: block;
    text-align: center;
    padding: 15px 0;
    width: 40%;
    position: relative;
    margin: 0 auto;
    font-size: 30px;
}
@media screen and (max-width:767px){
    .menu nav li{
        width:100%;
    }
}

.menu nav li:after {
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    background-image: linear-gradient(to right, transparent 0%, rgba(192, 191, 191, 0.12) 20%, rgba(192, 191, 191, 0.12) 50%, rgba(192, 191, 191, 0.12) 80%, transparent 100%);
    position: absolute;
    bottom: 0;
}

.menu nav li:last-child:after {
    display: none;
}

.menu nav li a {
    color: white;
    text-decoration: none;
    font-weight: 300;
}

#logo {
    text-indent: -9999px;
    background: url(//irishtimes-irishtimes.cdn.zephr.com/assets/images/logo/masthead-small-white.svg) no-repeat;
    background-size: contain;
    width: 300px;
}

@media screen and (max-width: 599px) {
    #logo {
        width: 200px;
        padding: 0 0 2px 0;
        border-bottom: 1px solid rgba(192, 191, 191, 0.12);
    }
}

#logo a {
    display: block;
}
