/** ---------------------------------------- */
/** BANNER */
/** ---------------------------------------- */

.just-for-papers {
	padding: 4px 16px;
	background-color: rgb(25, 187, 255);
	color: white;
	border-radius: 30px;
	border: none;
	font-size: 1.2em;
	font-weight: normal;
}

#discount-box {
	text-align: center;
	position: absolute;
	left: 50%;
	width: 400px;
	margin-left: -200px;
	bottom: 55px;
	height: 20px;
}

#discount-box a {
	color: #3875D7;
	text-decoration: underline;
}

#banner-mac {
	position: relative;
	text-align: center;
	padding-top: 96px;
	background-color: rgb(0, 177, 255);
	
	background-image: url(/static/images/header-gradient@2x.png);
	background-position: bottom left;
	background-repeat: repeat-x;
	background-size: 85px 706px;
}
#banner-mac h1 {
	background: bottom center url(/static/images/title@2x.png) no-repeat;
	background-size: 367px 123px;
	min-height: 123px;
	color: white;
	text-indent: 100%;
	overflow: hidden;
	margin-bottom: 4px;
}
#banner-mac h2 {
	font-size: 2em;
	margin-bottom: 30px;
	font-family: Avenir, "Helvetica Neue", Helvetica, sans-serif;
	color: rgb(87, 87, 87);
}
#mac-os-version {
	font-size: 1em;
	color: rgba(87, 87, 87, .8);
	padding-bottom: 20px;
	margin-top: -30px;
}
#banner-mac-background {
	background: url(/static/images/seabottom@2x.jpg) bottom center no-repeat;
	background-size: 1025px 384px;
}

#logo-mac {
	position: relative;
}
#icon-mac {
	margin-top: -32px;
	margin-bottom: -8px;
}

@-webkit-keyframes wavy         {
      0% { -webkit-transform: rotate(+0.6deg)  translate(+0px, -2px) } 
     25% { -webkit-transform: rotate(+0.3deg)  translate(+0px, +2px) } 
     50% { -webkit-transform: rotate(+0.0deg)  translate(+0px, -2px) } 
     75% { -webkit-transform: rotate(-0.3deg)  translate(+0px, +2px) } 
    100% { -webkit-transform: rotate(-0.6deg)  translate(+0px, -2px) }
}

@-moz-keyframes wavy         {
      0% { -moz-transform: rotate(+0.6deg)  translate(+0px, -2px) } 
     25% { -moz-transform: rotate(+0.3deg)  translate(+0px, +2px) } 
     50% { -moz-transform: rotate(+0.0deg)  translate(+0px, -2px) } 
     75% { -moz-transform: rotate(-0.3deg)  translate(+0px, +2px) } 
    100% { -moz-transform: rotate(-0.6deg)  translate(+0px, -2px) }
}

@keyframes wavy         {
      0% { transform: rotate(+0.6deg)  translate(+0px, -2px) } 
     25% { transform: rotate(+0.3deg)  translate(+0px, +2px) } 
     50% { transform: rotate(+0.0deg)  translate(+0px, -2px) } 
     75% { transform: rotate(-0.3deg)  translate(+0px, +2px) } 
    100% { transform: rotate(-0.6deg)  translate(+0px, -2px) }
}

.wavy {
    -webkit-animation: wavy 8s ease-in-out 0s infinite alternate;
       -moz-animation: wavy 8s ease-in-out 0s infinite alternate;
            animation: wavy 8s ease-in-out 0s infinite alternate;
	z-index: 5;
}


/** ---------------------------------------- */
/** BANNER BUTTONS */
/** ---------------------------------------- */

.actions {
	position: relative;
	width: 100%;
	margin-top: 30px;
	margin-bottom: 40px;
}
.actions a {
	position: absolute;
	left: 50%;
	top: -467px;
	display: inline-block;
	margin: 0;
	color: #5badf0;
	text-transform: uppercase;
}

.actions a.try {
	color: white;
	background-color: rgba(255, 255, 255, .2);
	margin-left: 80px;
	width: 110px;
	height: 110px;
	border-radius: 55px;
	padding-top: 31px;
}

span.try {
	display: block;
	position: absolute;
	font-size: 1.5em;
	width: 100%;
	top: 28px;
}

span.free {
	display: block;
	position: absolute;
	font-size: 1.2em;
	width: 100%;
	top: 64px;
	color: white;
}

.actions a.buy {
	background-color: rgb(87, 87, 87);
	background-image: url(/static/images/grey-noise@2x.png);
	background-size: 26px 26px;
	color: white;
	width: 110px;
	height: 110px;
	margin-left: 170px;
	margin-top: 90px;
	border-radius: 55px;
}

span.buy {
	display: block;
	position: absolute;
	font-size: 1.7em;
	width: 100%;
	top: 28px;
}

span.price {
	display: block;
	position: absolute;
	font-size: 1.2em;
	width: 100%;
	top: 64px;
	color: white;
}


/** ---------------------------------------- */
/** MOBILE */
/** ---------------------------------------- */

@media screen and (max-width: 700px) {
	#banner-mac {
		padding-top: 80px;
	}
	#banner-mac h1 {
		background-size: 300px 100px;
		min-height: 100px;
	}
	#mac-os-version {
		top: -28px;
	}
	#banner-mac h2 {
		font-size: 1.4em;
	}
	#banner-mac .actions {
		position: relative;
		top: -30px;
		width: 240px;
		margin-left: auto;
		margin-right: auto;
	}
	#banner-mac .actions a {
		display: inline-block;
		position: relative;
		width: 240px;
		height: 70px;
		margin: 0px;
		padding: 0px;
		left: 0px;
		top: 0px;
		margin-bottom: 20px;
	}
	
	span.buy, span.try {
		display: inline-block;
		position: absolute;
		text-align: left;
		font-size: 2.0em;
		line-height: 2.0em;
		top: 5px;
		left: 35px;
	}
	
	span.price, span.free {
		display: inline-block;
		position: absolute;
		text-align: right;
		top: 32px;
		right: 35px;
	}
	
	#icon-mac {
		width: 220px;
		height: auto;
	}
	
	#discount-box {
		bottom: 50px;
	}

	#discount-box a {
		font-size: 0.9em;
		text-decoration: none;
	}
}


/** ------------------------------------------------------------ */
/** BUBBLES! */
/** ------------------------------------------------------------ */


@-webkit-keyframes upBubble     { 0% { margin-top:  0px }    100% { margin-top: -100px } }
@-webkit-keyframes waveBubble   { 0% { margin-left: 0px }    100% { margin-left: 10px } }
@-webkit-keyframes fadeBubble   { 0% { opacity: 0.0 } 25% { opacity: 0.8 } 100% { opacity: 0.0 } }
@-webkit-keyframes scaleBubble  { 0% { -webkit-transform: scale(0.1) }  100% { -webkit-transform: scale(1.0) } }

@-moz-keyframes upBubble     { 0% { margin-top:  0px }    100% { margin-top: -100px } }
@-moz-keyframes waveBubble   { 0% { margin-left: 0px }    100% { margin-left: 10px } }
@-moz-keyframes fadeBubble   { 0% { opacity: 0.0 } 25% { opacity: 0.8 } 100% { opacity: 0.0 } }
@-moz-keyframes scaleBubble  { 0% { -moz-transform: scale(0.1) }  100% { -moz-transform: scale(1.0) } }

@keyframes upBubble     { 0% { margin-top:  0px }    100% { margin-top: -100px } }
@keyframes waveBubble   { 0% { margin-left: 0px }    100% { margin-left: 10px } }
@keyframes fadeBubble   { 0% { opacity: 0.0 } 25% { opacity: 0.8 } 100% { opacity: 0.0 } }
@keyframes scaleBubble  { 0% { transform: scale(0.1) }  100% { transform: scale(1.0) } }

#logo-mac span {
    position: absolute;
    background-color: #fff;
    -webkit-border-radius: 12px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    border-radius: 50px;
}

#logo-mac span:nth-child(1) {
    left: 38%;
    top: 110px;
    width: 8px;
    height: 8px;
    -webkit-animation: upBubble  4s linear      0s infinite,
                     waveBubble  4s ease-in-out 0s infinite alternate,
                    scaleBubble  4s ease-in-out 0s infinite,
                     fadeBubble  4s linear      0s infinite;
       -moz-animation: upBubble  4s linear      0s infinite,
                     waveBubble  4s ease-in-out 0s infinite alternate,
                    scaleBubble  4s ease-in-out 0s infinite,
                     fadeBubble  4s linear      0s infinite;
            animation: upBubble  4s linear      0s infinite,
                     waveBubble  4s ease-in-out 0s infinite alternate,
                    scaleBubble  4s ease-in-out 0s infinite,
                     fadeBubble  4s linear      0s infinite;
}
#logo-mac span:nth-child(2) {
    left: 37%;
    top: 120px;
    width: 10px;
    height: 10px;
    -webkit-animation: upBubble  4s linear      -2s infinite,
                     waveBubble  4s ease-in-out -2s infinite alternate,
                    scaleBubble  4s ease-in-out -2s infinite,
                     fadeBubble  4s linear      -2s infinite;
       -moz-animation: upBubble  4s linear      -2s infinite,
                     waveBubble  4s ease-in-out -2s infinite alternate,
                    scaleBubble  4s ease-in-out -2s infinite,
                     fadeBubble  4s linear      -2s infinite;
            animation: upBubble  4s linear      -2s infinite,
                     waveBubble  4s ease-in-out -2s infinite alternate,
                    scaleBubble  4s ease-in-out -2s infinite,
                     fadeBubble  4s linear      -2s infinite;
}

#logo-mac span:nth-child(3) {
    left: 36%;
    top: 120px;
    width: 6px;
    height: 6px;
    -webkit-animation: upBubble  4s linear       -1s infinite,
                     waveBubble  4s ease-in-out  -1s infinite alternate,
                    scaleBubble  4s ease-in-out  -1s infinite,
                     fadeBubble  4s linear       -1s infinite;
       -moz-animation: upBubble  4s linear       -1s infinite,
                     waveBubble  4s ease-in-out  -1s infinite alternate,
                    scaleBubble  4s ease-in-out  -1s infinite,
                     fadeBubble  4s linear       -1s infinite;
            animation: upBubble  4s linear       -1s infinite,
                     waveBubble  4s ease-in-out  -1s infinite alternate,
                    scaleBubble  4s ease-in-out  -1s infinite,
                     fadeBubble  4s linear       -1s infinite;
}
#logo-mac span:nth-child(4) {
    left: 37%;
    top: 120px;
    width: 6px;
    height: 6px;
    -webkit-animation: upBubble  4s linear       -3s infinite,
                     waveBubble  4s ease-in-out  -1s infinite alternate,
                    scaleBubble  4s ease-in-out  -3s infinite,
                     fadeBubble  4s linear       -3s infinite;
       -moz-animation: upBubble  4s linear       -3s infinite,
                     waveBubble  4s ease-in-out  -1s infinite alternate,
                    scaleBubble  4s ease-in-out  -3s infinite,
                     fadeBubble  4s linear       -3s infinite;
            animation: upBubble  4s linear       -3s infinite,
                     waveBubble  4s ease-in-out  -1s infinite alternate,
                    scaleBubble  4s ease-in-out  -3s infinite,
                     fadeBubble  4s linear       -3s infinite;
}
#logo-mac span:nth-child(5) {
z-index: 10;
    left: 61%;
    top: 178px;
    width: 12px;
    height: 12px;
    -webkit-animation: upBubble  4s linear        0s infinite,
                     waveBubble  4s ease-in-out   0s infinite alternate,
                    scaleBubble  4s ease-in-out   0s infinite,
                     fadeBubble  4s linear        0s infinite;
       -moz-animation: upBubble  4s linear        0s infinite,
                     waveBubble  4s ease-in-out   0s infinite alternate,
                    scaleBubble  4s ease-in-out   0s infinite,
                     fadeBubble  4s linear        0s infinite;
            animation: upBubble  4s linear        0s infinite,
                     waveBubble  4s ease-in-out   0s infinite alternate,
                    scaleBubble  4s ease-in-out   0s infinite,
                     fadeBubble  4s linear        0s infinite;
}
#logo-mac span:nth-child(6) {
z-index: 10;
    left: 61.5%;
    top: 176px;
    width: 4px;
    height: 4px;
    -webkit-animation: upBubble  4s linear        -0.5s infinite,
                     waveBubble  4s ease-in-out   -0.5s infinite alternate,
                    scaleBubble  4s ease-in-out   -0.5s infinite,
                     fadeBubble  4s linear        -0.5s infinite;
       -moz-animation: upBubble  4s linear        -0.5s infinite,
                     waveBubble  4s ease-in-out   -0.5s infinite alternate,
                    scaleBubble  4s ease-in-out   -0.5s infinite,
                     fadeBubble  4s linear        -0.5s infinite;
            animation: upBubble  4s linear        -0.5s infinite,
                     waveBubble  4s ease-in-out   -0.5s infinite alternate,
                    scaleBubble  4s ease-in-out   -0.5s infinite,
                     fadeBubble  4s linear        -0.5s infinite;
}
#logo-mac span:nth-child(7) {
z-index: 10;
    left: 61.2%;
    top: 180px;
    width: 8px;
    height: 8px;
    -webkit-animation: upBubble  4s linear        -1.0s infinite,
                     waveBubble  4s ease-in-out   -1.0s infinite alternate,
                    scaleBubble  4s ease-in-out   -1.0s infinite,
                     fadeBubble  4s linear        -1.0s infinite;
       -moz-animation: upBubble  4s linear        -1.0s infinite,
                     waveBubble  4s ease-in-out   -1.0s infinite alternate,
                    scaleBubble  4s ease-in-out   -1.0s infinite,
                     fadeBubble  4s linear        -1.0s infinite;
            animation: upBubble  4s linear        -1.0s infinite,
                     waveBubble  4s ease-in-out   -1.0s infinite alternate,
                    scaleBubble  4s ease-in-out   -1.0s infinite,
                     fadeBubble  4s linear        -1.0s infinite;
}
#logo-mac span:nth-child(8) {
z-index: 10;
    left: 60.9%;
    top: 175px;
    width: 4px;
    height: 4px;
    -webkit-animation: upBubble  4s linear        -1.5s infinite,
                     waveBubble  4s ease-in-out   -1.5s infinite alternate,
                    scaleBubble  4s ease-in-out   -1.5s infinite,
                     fadeBubble  4s linear        -1.5s infinite;
       -moz-animation: upBubble  4s linear        -1.5s infinite,
                     waveBubble  4s ease-in-out   -1.5s infinite alternate,
                    scaleBubble  4s ease-in-out   -1.5s infinite,
                     fadeBubble  4s linear        -1.5s infinite;
            animation: upBubble  4s linear        -1.5s infinite,
                     waveBubble  4s ease-in-out   -1.5s infinite alternate,
                    scaleBubble  4s ease-in-out   -1.5s infinite,
                     fadeBubble  4s linear        -1.5s infinite;
}
#logo-mac span:nth-child(9) {
z-index: 10;
    left: 61%;
    top: 179px;
    width: 5px;
    height: 5px;
    -webkit-animation: upBubble  4s linear        -2.0s infinite,
                     waveBubble  4s ease-in-out   -2.0s infinite alternate,
                    scaleBubble  4s ease-in-out   -2.0s infinite,
                     fadeBubble  4s linear        -2.0s infinite;
       -moz-animation: upBubble  4s linear        -2.0s infinite,
                     waveBubble  4s ease-in-out   -2.0s infinite alternate,
                    scaleBubble  4s ease-in-out   -2.0s infinite,
                     fadeBubble  4s linear        -2.0s infinite;
            animation: upBubble  4s linear        -2.0s infinite,
                     waveBubble  4s ease-in-out   -2.0s infinite alternate,
                    scaleBubble  4s ease-in-out   -2.0s infinite,
                     fadeBubble  4s linear        -2.0s infinite;
}
#logo-mac span:nth-child(10) {
z-index: 10;
    left: 61.3%;
    top: 178px;
    width: 3px;
    height: 3px;
    -webkit-animation: upBubble  4s linear        -2.5s infinite,
                     waveBubble  4s ease-in-out   -2.5s infinite alternate,
                    scaleBubble  4s ease-in-out   -2.5s infinite,
                     fadeBubble  4s linear        -2.5s infinite;
       -moz-animation: upBubble  4s linear        -2.5s infinite,
                     waveBubble  4s ease-in-out   -2.5s infinite alternate,
                    scaleBubble  4s ease-in-out   -2.5s infinite,
                     fadeBubble  4s linear        -2.5s infinite;
            animation: upBubble  4s linear        -2.5s infinite,
                     waveBubble  4s ease-in-out   -2.5s infinite alternate,
                    scaleBubble  4s ease-in-out   -2.5s infinite,
                     fadeBubble  4s linear        -2.5s infinite;
}

@media screen and (max-width: 700px) {
	#logo-mac span:nth-child(1), #logo-mac span:nth-child(2), #logo-mac span:nth-child(3), #logo-mac span:nth-child(4) {
		left: 32%;
	    top: 70px;
	}
	#logo-mac span:nth-child(5), #logo-mac span:nth-child(6), #logo-mac span:nth-child(7), #logo-mac span:nth-child(8), #logo-mac span:nth-child(9), #logo-mac span:nth-child(10) {
	    top: 90px;
	}

}