.marlayout {
    /* width: 900px;*/
    margin: 0 .1% 20px 0;
    border: 1px #ccc solid;
    padding-left: 10px;
    padding-right: 10px
}
.maritem {
    text-align: center;
    color: #2c5c8c;
    font-size: 16px;
}
.marcontainer {
    width: 100%;
    height:40px;
   /* margin: 1em auto;*/
    overflow: hidden;
    background: white;
    position: relative;
    box-sizing: border-box;
}

.marquee {
   /* top: 6em;*/
    position: relative;
    box-sizing: border-box;
    animation: marquee 12s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

/* Make it move! */
@keyframes marquee {
    0%   { top:  40px }/* set these to the height */
    100% { top: -80px }/* set these to the height, maybe plus a bit*/
}

/* Make it look pretty */
.marcontainer .marquee {
	margin: 0;
  /*  padding: 0 1em;
    line-height: 1.5em;
    font: 1em 'Segoe UI', Tahoma, Helvetica, Sans-Serif;*/
}

.marcontainer:before, .marcontainer::before,
.marcontainer:after,  .marcontainer::after {
    left: 0;
    z-index: 1;
    content: '';
    position: absolute;
    pointer-events: none;
    width: 100%; height: 1em;
    /*background-image: linear-gradient(180deg, #FFF, rgba(255,255,255,0));*/
}

.marcontainer:after, .microsoft::after {
    bottom: 0;
    transform: rotate(180deg);
}

.marcontainer:before, .microsoft::before {
    top: 0;
}


@media screen and (max-width: 960px) {
    .marlayout {
        margin: 20px auto;
        width:90%
    }

    .marcontainer {
       
        height: 90px;
      
    }
    .marquee {
      
        animation: marquee 24s linear infinite;
    }

    @keyframes marquee {
        0% {
            top: 90px
        }
        /* set these to the height */
        100% {
            top: -180px
        }
        /* set these to the height, maybe plus a bit*/
    }

}