    /* Main transformations */

    .cn-modern .cn-wrapper li a {
        -webkit-transform: skew(-50deg) rotate(-70deg) scale(1);
        -ms-transform: skew(-50deg) rotate(-70deg) scale(1);
        -moz-transform: skew(-50deg) rotate(-70deg) scale(1);
        transform: skew(-50deg) rotate(-70deg) scale(1);
    }
            .cn-modern .cn-wrapper li:first-child {
        -webkit-transform: rotate(-10deg) skew(50deg);
        -ms-transform: rotate(-10deg) skew(50deg);
        -moz-transform: rotate(-10deg) skew(50deg);
        transform: rotate(-10deg) skew(50deg);
    }
                .cn-modern .cn-wrapper li:nth-child(2) {
        -webkit-transform: rotate(30deg) skew(50deg);
        -ms-transform: rotate(30deg) skew(50deg);
        -moz-transform: rotate(30deg) skew(50deg);
        transform: rotate(30deg) skew(50deg);
    }
                .cn-modern .cn-wrapper li:nth-child(3) {
        -webkit-transform: rotate(70deg) skew(50deg);
        -ms-transform: rotate(70deg) skew(50deg);
        -moz-transform: rotate(70deg) skew(50deg);
        transform: rotate(70deg) skew(50deg);
    }
                .cn-modern .cn-wrapper li:nth-child(4) {
        -webkit-transform: rotate(110deg) skew(50deg);
        -ms-transform: rotate(110deg) skew(50deg);
        -moz-transform: rotate(110deg) skew(50deg);
        transform: rotate(110deg) skew(50deg);
    }
                .cn-modern .cn-wrapper li:nth-child(5) {
        -webkit-transform: rotate(150deg) skew(50deg);
        -ms-transform: rotate(150deg) skew(50deg);
        -moz-transform: rotate(150deg) skew(50deg);
        transform: rotate(150deg) skew(50deg);
    }
                /* Position tweaks */

    .cn-modern .cn-wrapper {
        bottom: -13em;
        left: 50%;
        margin-left: -13em;
    }
    .cn-modern .cn-button {
        left: 50%;
        bottom: -1.75em;
        padding-bottom: 1.45em;
        margin-left: -1.75em;
        padding-top: 0 !important;
    }
    .cn-modern.cn-asb .cn-wrapper.top-position {
        top: auto !important;
    }
    .cn-modern.cn-asb .cn-button.top-position{
        top: auto !important;
    }
    .cn-modern .cn-wrapper li:first-child a span p{
         padding-left: 15px;
     }
     .cn-modern .cn-wrapper li:first-child a span i{
         padding-left: 10px;
     }
     .cn-modern .cn-wrapper li:first-child a span img{
         margin-left: 10px;
     }
     .cn-modern .cn-wrapper li:last-child a span p{
         padding-right: 15px;
     }
     .cn-modern .cn-wrapper li:last-child a span i{
         padding-right: 10px;
     }
     .cn-modern .cn-wrapper li:last-child a span img{
         margin-right: 10px;
     }
    /* Colors */

.cn-modern .cn-wrapper li:nth-child(odd) a {
    background-color: #75A5E5;
}
.cn-modern .cn-wrapper li:nth-child(even) a {
    background-color: #82B7FF;
}
.cn-modern .cn-button {
    background-color: #ED6A31;
}
@media screen and (min-width:1280px) { /* Only activate hover, focus, etc, styles on desktop-laptop screens and above */
    .cn-modern .cn-wrapper li.active a {
      background-color: #628ABF;
    }
    .cn-modern .cn-wrapper li:not(.active) a:hover,
    .cn-modern .cn-wrapper li:not(.active) a:active,
    .cn-modern .cn-wrapper li:not(.active) a:focus {
      background-color: #628ABF;
    }
    .cn-modern .cn-button:hover,
    .cn-modern .cn-button:active,
    .cn-modern .cn-button:focus {
        background-color: #edac74;
    }
}

/* Menu button tweaks, sizes and colors */

.cn-modern .cn-button{
    padding-top: 1.75em;
}
.cn-modern .cn-button-text {
    line-height: 20px;
}
@media screen and (min-width:768px) {
.cn-modern .cn-button-text {
    line-height: 25px;
}
}
@media screen and (min-width:1680px) {
.cn-modern .cn-button-text {
    line-height: 30px;
}
}
.cn-modern .cn-button-text {
    color: #ffffff;
    font-size: 16px;
}
.cn-modern .cn-button-text img{
    width: 32px;
}
@media screen and (min-width:768px) {
    .cn-modern .cn-button-text {
        font-size: 22px;
    }
    .cn-modern .cn-button-text img{
        width: 42px;
    }
}
@media screen and (min-width:1680px) {
    .cn-modern .cn-button-text {
        font-size: 28px;
    }
    .cn-modern .cn-button-text img{
        width: 52px;
    }
}
/* Navigation icon/image and text sizes and colors */

.cn-modern .cn-wrapper li a span {
    color: #ffffff;
    font-size: 20px;
}
.cn-modern .cn-wrapper li a span p {
    color: #ffffff;
    font-size: 12px;
    margin-top: -20px;
}
.cn-modern .cn-wrapper li a span img{
    width: 26px;
}
@media screen and (min-width:768px) {
    .cn-modern .cn-wrapper li a span {
        font-size: 26px;
    }
    .cn-modern .cn-wrapper li a span p {
        font-size: 16px;
        margin-top: -25px;
    }
    .cn-modern .cn-wrapper li a span img{
        width: 36px;
    }
}
@media screen and (min-width:1680px) {
    .cn-modern .cn-wrapper li a span {
        font-size: 32px;
    }
    .cn-modern .cn-wrapper li a span p {
        font-size: 20px;
        margin-top: -30px;
    }
    .cn-modern .cn-wrapper li a span img{
        width: 46px;
    }
}
