/* noto-sans-regular - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url('noto-sans-v9-latin/noto-sans-v9-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Noto Sans'), local('NotoSans'),
       url('noto-sans-v9-latin/noto-sans-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('noto-sans-v9-latin/noto-sans-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('noto-sans-v9-latin/noto-sans-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('noto-sans-v9-latin/noto-sans-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('noto-sans-v9-latin/noto-sans-v9-latin-regular.svg#NotoSans') format('svg'); /* Legacy iOS */
}
/* noto-sans-700 - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 700;
  src: url('noto-sans-v9-latin/noto-sans-v9-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Noto Sans Bold'), local('NotoSans-Bold'),
       url('noto-sans-v9-latin/noto-sans-v9-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('noto-sans-v9-latin/noto-sans-v9-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('noto-sans-v9-latin/noto-sans-v9-latin-700.woff') format('woff'), /* Modern Browsers */
       url('noto-sans-v9-latin/noto-sans-v9-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('noto-sans-v9-latin/noto-sans-v9-latin-700.svg#NotoSans') format('svg');  Legacy iOS 
}

html {
    background-color: #007BBC;
    background-image: url("zbedge_bg.png");
    background-size: cover;
    height: 100% !important;
}

body {
    text-align: center;
    color: #717297;
    font-weight: 400;
    font-family: Noto Sans, Helvetica, Arial, sans-serif;
    /*font-size: calc(16px + .35vw); /* Responsive base font size */
    font-size: calc(1rem + .15vw); /* Responsive base font size */
    margin: 0;
}

body#dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
}

#container {
    width: 100%;
}

#top {
    display: flex;
    flex-direction: row;
    margin: 80px auto 40px;
}

#top img {
    margin-bottom: calc(1rem + .15vw);
}

#top span {
    display: flex;
    justify-content: center;
}

#main {
    display: flex;
    row-gap: 80px;
    flex-direction: column;
    justify-content: center;
    text-align: center !important;
    margin: 0 auto 80px;
    max-width: 1140px;
}

h1 {
    font-size: 1.2em;
    font-weight: 400;
    margin: 0 0 1em 0;
    padding: 0;
}


.app-demos {
    display: flex;
    padding: 40px var(--X-axis-Height, 32px);
    flex-direction: column;
    gap: 24px;
    flex: 1 0 0;
    border-radius: 24px;
    background: #FAFAFA;
    box-shadow: -3px 3px 4px 0px #FFF inset, -28px 26px 34.2px 0px rgba(59, 119, 196, 0.20), 0px 4px 4px 0px #3B77C4;
    margin: 0 16px;
    transition: .3;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(.5rem + .15vw);
    align-self: stretch;
}

.app-demos.header div {
    display: flex;
    flex-direction: column;
}

.app-demos.header.app_logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.app-demos.header.app_logo img {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-demos.header span {
    color: #717297;
    text-align: center;
    font-family: "Noto Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 137.5%; /* 22px */
}


.tiles {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    row-gap: 20px;
    column-gap: 20px;
    align-content: center;
}

#top, #bottom {
    display: block;
    text-align: center !important;
    clear: both;
}

.button {
    width: 100%;
}

.button a {
    background: transparent;
    color: #fff;
    text-decoration: none;
    /*height: 100px;
    width: 100px;
    margin: 20px auto;*/
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.button a.sublink {
    color: #005b79;
    font-size: 0.7rem;
    font-weight: 700;
    height: 15px;
    align-items: flex-end;
    border-top: 1px solid rgba(0, 123, 188, .5);
    border-radius: 0 0 10px 10px;
    background-color: rgba(255, 255, 255, 0.2);
    /*position: absolute;*/
    bottom: 0;
    left: 0;
}

#left .app-demos:hover {
    background: red;
    box-shadow: -3px 3px 4px 0px #FFF inset, -28px 26px 34.2px 0px rgba(59, 119, 196, 0.20), 0px 4px 4px 0px #00A79D;
}
#left .button {
    background-image: linear-gradient(115deg, #00A79D 21.76%, #0081C9 79.39%);
}
#left .button a:hover {
    background: #00A79D;
}
#right a {
    background-image: linear-gradient(115deg, #00AEEF 21.76%, #2B2A80 79.39%);
}
#right .button a:hover {
    background: #00AEEF;
}

/*#right .button a {
    height: 256px;
    width: 256px;
}*/

#video {
    position: absolute;
    top: 30px;
    right: 30px;
}

#video a, #return a {
    /*width: 55px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    background: #FAFAFA;
    box-shadow: -6px -2px 4px 0px #FFF inset, 16px 16px 32px 0px rgba(59, 119, 196, 0.20), 0px 4px 4px 0px #3B77C4;
    color: #717297;
    vertical-align: middle;
}

#video img {
    height: 9px;
    width: 12px;
    margin-right: 8px;
}

#return {
    position: absolute;
    bottom: 30px;
    right: 30px;
    opacity: 0.9;
    z-index: 1000;
}

#return img {
    height: 14px;
    width: 18.371px;
    margin-left: 4px;
}

#returnfromvideo {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.9;
    padding: 10px;
    background-color: #00a79d;
    border-radius: 5px 0 0 0;
    z-index: 1000;
}

#video a, #return a, #returnfromvideo a {
    font-size: 0.8rem;
    text-decoration: none;   
}

#return:hover, #returnfromvideo:hover {
    opacity: 1;
}

#video a:hover, .button a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

@media only screen and (min-width: 768px) {
    #main {flex-direction: row; }

    h1 { font-size: 1.3em; }
    #video a { font-size: 0.9rem; }
    #video img { height: 20px; width: 30px; margin-right: 6px; }
    
    .button.half { width: calc(50% - 15px ); }
    .button.full { width: 100%; }
    .button.full a { height: 60px; }

    .button a { height: 120px; }
    .button a.sublink { font-size: 0.8rem;}

    #right .button.full.big a { height: 292px; }
    
    #return a, #returnfromvideo a { font-size: 0.9rem; }
    #return img { height: 18px; width: 23.6px; margin-left: 6px; }
    #video a, #return a, #returnfromvideo { padding-left: 15px; padding-right: 12px; }
}

@media only screen and (min-width: 1080px) {
    h1 { font-size: 1.6em; }

    .app-demos { margin: 0 40px; }

    #video a { font-size: 1.1rem; }
    
    #return a, #returnfromvideo a { font-size: 1.1rem; }
    #return img { height: 22px; width: 29px; }
    #video a, #return a, #returnfromvideo { padding-left: 15px; padding-right: 15px; }
}

@media only screen and (max-width: 510px) {
    #video { top: 0; right: 0; }
    #video a { border-radius: 0 0 0 5px; }
    #return { bottom: 0; right: 0; }
    #return a { border-radius: 5px 0 0 0; }
}

video {
    width: 100% !important;
    height: auto !important;
}

video#portrait {
    width: auto !important;
    height: 100% !important;
}