.input { position: relative; z-index: 1; display: inline-block; margin: 1em; max-width: 250px; width: calc(100% - 2em); vertical-align: top; } .input__field{ position: relative; display: block; float: right; padding: 0.8em; width: 60%; border: none; border-radius: 0; background: #f0f0f0; color: #aaa; font-weight: 400; font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-appearance: none; /* for box shadows to show on iOS */ } .ptext{ margin-left: 10%; width: 80%; border: none; border-radius: 0; background: #f0f0f0; color: #aaa; font-weight: 400; font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-appearance: none; /* for box shadows to show on iOS */ } .input__field:focus { outline: none; } .input__label { display: inline-block; float: right; padding: 0 1em; width: 40%; color: #696969; font-weight: bold; font-size: 70.25%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .input__label-content { position: relative; display: block; padding: 1.6em 0; width: 100%; } .graphic { position: absolute; top: 0; left: 0; fill: none; } .icon { color: #ddd; font-size: 150%; } /* Nao */ .input--nao { overflow: hidden; padding-top: 1em; } .input__field--nao { padding: 0.5em 0em 0.25em; width: 100%; background: transparent; color: #19a2c6; font-size: 1.25em; } .input__label--nao { position: absolute; top: 0.95em; font-size: 0.85em; left: 0; display: block; width: 100%; text-align: left; padding: 0em; pointer-events: none; -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transition: -webkit-transform 0.2s 0.15s, color 1s; transition: transform 0.2s 0.15s, color 1s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out; } .graphic--nao { stroke: #92989e; pointer-events: none; -webkit-transition: -webkit-transform 0.7s, stroke 0.7s; transition: transform 0.7s, stroke 0.7s; -webkit-transition-timing-function: cubic-bezier(0, 0.25, 0.5, 1); transition-timing-function: cubic-bezier(0, 0.25, 0.5, 1); } .input__field--nao:focus + .input__label--nao, .input--filled .input__label--nao { color: #333; -webkit-transform: translate3d(0, -1.25em, 0) scale3d(0.75, 0.75, 1); transform: translate3d(0, -1.25em, 0) scale3d(0.75, 0.75, 1); } .input__field--nao:focus ~ .graphic--nao, .input--filled .graphic--nao { stroke: #333; -webkit-transform: translate3d(-66.6%, 0, 0); transform: translate3d(-66.6%, 0, 0); } /* Video Box */ #vid-box video{ width: 100%; height: auto; max-height: 50vh; max-width: auto; } body{ background-color: #eff1f1; } .bodyDiv{ text-align: center; } .video2{ width: 33%; } video{ width: 25%; } @media only screen and (min-width : 320px) and (max-width : 800px){ #vid-box video{ width: 100%; height: auto; } body{background-color: yellow:} } .inputButton{ margin-top: 35px; } /* General styles for the modal */ /* Styles for the html/body for special modal where we want 3d effects Note that we need a container wrapping all content on the page for the perspective effects (not including the modals and the overlay). */ .md-perspective, .md-perspective body { height: 100%; overflow: hidden; } .md-perspective body { background: #222; -webkit-perspective: 600px; -moz-perspective: 600px; perspective: 600px; } .container { background: #e74c3c; min-height: 100%; } .md-modal { position: fixed; top: 50%; left: 50%; width: 50%; max-width: 630px; min-width: 320px; height: auto; z-index: 2000; visibility: hidden; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: translateX(-50%) translateY(-50%); -moz-transform: translateX(-50%) translateY(-50%); -ms-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); } .md-show { visibility: visible; border: 3px solid #19a2c6; } .md-overlay { position: fixed; width: 100%; height: 100%; visibility: hidden; top: 0; left: 0; z-index: 1000; opacity: 0; background: #d02129; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .md-show ~ .md-overlay { opacity: 1; visibility: visible; } /* Content styles */ .md-content { /* color: #fff;*/ background: #d02129; position: relative; border-radius: 3px; margin: 0 auto; } .md-content h3 { margin: 0; padding: 0.4em; text-align: center; font-size: 2.4em; font-weight: 300; opacity: 0.8; background: rgba(0,0,0,0.1); border-radius: 3px 3px 0 0; } .md-content > div { padding: 15px 40px 30px; margin: 0; font-weight: 300; font-size: 1.15em; } .md-content > div p { margin: 0; padding: 10px 0; } .md-content > div ul { margin: 0; padding: 0 0 30px 20px; } .md-content > div ul li { padding: 5px 0; } .md-content button { font-size: 2em; background-color: #d02129; border-style: none; color: #eff1f1; } /* Effect 13: 3D slit */ .md-effect-13.md-modal { -webkit-perspective: 1300px; -moz-perspective: 1300px; perspective: 1300px; } .md-effect-13 .md-content { -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transform: translateZ(-3000px) rotateY(90deg); -moz-transform: translateZ(-3000px) rotateY(90deg); -ms-transform: translateZ(-3000px) rotateY(90deg); transform: translateZ(-3000px) rotateY(90deg); opacity: 0; } .md-show.md-effect-13 .md-content { -webkit-animation: slit .7s forwards ease-out; -moz-animation: slit .7s forwards ease-out; animation: slit .7s forwards ease-out; } @-webkit-keyframes slit { 50% { -webkit-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -webkit-animation-timing-function: ease-out;} 100% { -webkit-transform: translateZ(0) rotateY(0deg); opacity: 1; } } @-moz-keyframes slit { 50% { -moz-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -moz-animation-timing-function: ease-out;} 100% { -moz-transform: translateZ(0) rotateY(0deg); opacity: 1; } } @keyframes slit { 50% { transform: translateZ(-250px) rotateY(89deg); opacity: 1; animation-timing-function: ease-in;} 100% { transform: translateZ(0) rotateY(0deg); opacity: 1; } } /* Button */ .cbutton { position: relative; display: inline-block; margin: 1em; padding: 0; border: none; background: none; color: #19a2c6; font-size: 1.4em; overflow: visible; -webkit-transition: color 0.7s; transition: color 0.7s; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .cbutton.cbutton--click, .cbutton:focus { outline: none; color: #3c8ddc; } .cbutton__icon { display: block; } .cbutton__text { position: absolute; opacity: 0; pointer-events: none; } .cbutton::after { position: absolute; top: 50%; left: 50%; margin: -35px 0 0 -35px; width: 70px; height: 70px; border-radius: 50%; content: ''; opacity: 0; pointer-events: none; } /* Radomir */ .cbutton--effect-radomir::after { box-shadow: inset 0 0 0 35px rgba(111,148,182,0); } .cbutton--effect-radomir.cbutton--click::after { -webkit-animation: anim-effect-radomir 0.5s ease-out forwards; animation: anim-effect-radomir 0.5s ease-out forwards; } @-webkit-keyframes anim-effect-radomir { 0% { opacity: 1; -webkit-transform: scale3d(0.4, 0.4, 1); transform: scale3d(0.4, 0.4, 1); } 80% { box-shadow: inset 0 0 0 2px rgba(111,148,182,0.8); opacity: 0.1; } 100% { box-shadow: inset 0 0 0 2px rgba(111,148,182,0.8); opacity: 0; -webkit-transform: scale3d(1.2, 1.2, 1); transform: scale3d(1.2, 1.2, 1); } } @keyframes anim-effect-radomir { 0% { opacity: 1; -webkit-transform: scale3d(0.4, 0.4, 1); transform: scale3d(0.4, 0.4, 1); } 80% { box-shadow: inset 0 0 0 2px rgba(111,148,182,0.8); opacity: 0.1; } 100% { box-shadow: inset 0 0 0 2px rgba(111,148,182,0.8); opacity: 0; -webkit-transform: scale3d(1.2, 1.2, 1); transform: scale3d(1.2, 1.2, 1); } }