﻿/* Just for product pages */

body {
   background: #e3e3e3;
}

#content {
   padding-left: 20px;
   padding-right: 20px;
   padding-top: 10px;
   padding-bottom: 10px;
   border-radius: 10px;
   border-color: rgba(0, 0, 0, 0.05);
   border-width: 1px;
   border-style: solid;
   box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 10px;
   background-color: #fff;
   border-radius: 10px;
}

@media(prefers-color-scheme:dark) {
   body {
      color: #f9f9f9;
      background-color:#353535;
   }
   
   #content {
      background: #4A4A4A;
      box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 10px;
   }
}

@media screen and (max-width: 799px) {
   #content {
      max-width: 720px;
   }
}
 
/* Product-specific stuff */

.product-info {
   text-align: center;
   margin-bottom: 20px;
}

.product-info img {
   margin-top: 10px;
   border-radius: 7px;
}

.product-info p {
   font-size: 16pt; 
}

.product-info .featurebox {
   margin-top: 30px;
   margin-bottom: 30px;
}

.light-featured-image {
   display: block;
}

.dark-featured-image {
   display: none;
}

.inline-screenshots {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.inline-screenshots img {
    width: 128px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px;
}

.light-screenshots {
   display: inline;
}

.dark-screenshots {
   display: none;
}

@media(prefers-color-scheme:dark) {
   .light-featured-image {
      display: none;
   }
   
   .dark-featured-image {
      display: block;
   }
   
   .light-screenshots {
      display: none;
   }
   
   .dark-screenshots {
      display: inline;
   }
}

.cropped-image {
   width: 100%;
}

.uncropped-image {
   display: none;
}

@media screen and (max-width: 799px) {
   .cropped-image {
      display: none;
   }
   
   .uncropped-image {
      display: inline;
   }
}

.featurebox h2 {
   text-align: center;
}

.whatsnew .featurebox {
   border: unset;
   box-shadow: unset;
   background-color: unset;
   padding: unset;
}

.product-title { 
    width: 100%;
}

.product-title-container {
   width: 800px;
   height: 400px;
   position: relative;
   top: 0px;
   margin-left: auto;
   margin-right: auto;
}

.platform-menu {
   height: 35px;
   top: 16px;
   position: absolute;
   text-align: center;
   line-height: 35px;
   width:100%;
   display: table-cell;
   font-weight: 400;
}

.platform-menu-items {
   width: intrinsic;
   padding-right: 10px;
   margin-left: auto;
}

.current-platform-item {
   border-bottom: 2px solid;
}

.platform-menu a:hover {
   text-decoration: none;
   border-bottom: 2px solid;
}

.platform-item {
   margin-left: 10px;
   padding-bottom: 2px;
}

.product-icon-and-title {
	height: 256px;
	position: relative;
	top: 72px;
	clear: both;
	width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.product-title-text {
   display: table-cell;
   vertical-align: top;
   height: 256px;
   line-height: 1.2;
}

.product-icon {
   height: 256px;
   width: 256px;
   background-repeat: no-repeat;
   background-size: 256px 256px;
   margin-right: 20px;  
   float: left;
}

.product-title h1 {
	font-style: normal;
	font-size: 60px;
	font-weight: 500;
}

.product-title p {
   font-size: 36px; 
   font-weight: 300;
}

#content {
	position: relative;
	top: 4px;
}

#product-content h2 {
	color: #b6161e;
}

.submenu {
	position: absolute;
	top: 278px;
}

.product-title .submenu-items {
   background-color: hsla(0, 0%, 0%, 0.2);
   box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 3px;
}

.screenshotbox {
	height: intrinsic;
	width:intrinsic;
   margin-top: 20px;
	padding-top: 10px;
	padding-bottom: 20px;
   margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.screenshotbox img {
   margin-right: 10px;
   border-radius: 3px;
   box-shadow: 0px 2px 3px rgb(0, 0, 0, 0.2);
}

.ipad_screenshotbox img {
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	clear: both;
   margin: 10px;
}

.iphone_screenshotbox img {
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	clear: both;
   margin: 10px;
}

@media (prefers-color-scheme:dark) {   
   .ipad_screenshotbox img {
      border: 1px solid rgba(255, 255, 255, 0.20);
   }

   .iphone_screenshotbox img {
      border: 1px solid rgba(255, 255, 255, 0.20);
   }
}

@media screen and (max-width: 799px) {
   .product-title {
     position: relative;
   }
    
   .platform-menu-items {
     margin-right: auto;
   }
    
   .product-title-container {
      width: 100%;
   }
    
	.product-title h1 {
      font-size: 48px;
    	margin-top: 12px;
   }
   	
   .product-title p {
    	font-size: 28px;
   }
   	
   .product-icon {
      background-size: 128px 128px;
      width: 100%;
      height: 128px;
      background-position: center center;
      display: block;
      clear: both;
      margin-right: 0px;
   }
    
   .product-icon-and-title {
      width: 90%;
      height: 300px;
   }
    
   .product-title-text {
      float: left;
      width: 100%;
      text-align: center;
   }
    
   #footer {
      position: relative;
      top: 60px;
   }
}

@media screen and (max-width: 376px) {   
   .column-1 {
        width: 100%;
    }
    
   .column-2 {
        width:100%;
    }    
}

@media screen and (max-width: 360px) {
    .product-title h1 {
    	font-size: 36px;
   	}
   	
   	.product-title p {
       	font-size: 24px;
   	}
    	
	.screenshotbox img {
    	width: 50px;
    	height: auto;
    	margin-right: 0px;
	}
}
