/* Additionals to the dev portal over the standard Cascable template */

div.flash {
    padding: 20px;
    border: 1px solid #faebcc;
    margin-top: 40px;
    background:#fcf8e3;
    color: #8a6d3b;
}

/* ---- Home ---- */

#home-devices-footer {
	width: 1000px;
	height: 248px;
  position: relative;
  left: -100px;
	background-image: url('/images/home-devices.jpg');
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
  #home-devices-footer {
	background-image: url('/images/home-devices@2x.jpg');
	background-size: 1000px 248px;
  }
}

#header-content-container {
    margin-top: 40px;
    clear: both;
    text-align: center;
}

#header-content-container p.title {
	font-size: 48px;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	margin-top: 5px;
}

#header-content-container p.subtitle {
	font-size: 21px;
	font-family: -apple-system, 'Helvetica', sans-serif;
	font-weight: 300;
	margin-top: 10px;
	color: gray;
}

#header-content-container p {
	font-size: 14px;
	font-family: -apple-system, 'Helvetica', sans-serif;
	font-weight: 300;
	margin-bottom: 0px;
    text-align: center;
}

sup { 
    vertical-align: super;
    font-size: smaller;
}

p.toc {
    font-size: 18px;
}

p.toc a {
    text-decoration: none;
}

h2.feature-header {
    font-size: 36pt;
    padding-bottom: 60px;
}

ul.core-feature-list {
    font-size: 13pt;
    text-align: center;
    padding: 0px;
    margin: 0px;
}

.feature-check {
    font-size: 16pt;
    font-weight: bold;
    color: green;
}

ul.core-feature-list li {
    list-style-type: none; 
    padding-top: 10px;
}

div.callout-feature {
    margin-top: 40px;
}

/* Manufacturers Feature */

div#manufacturers-feature {
    padding: 10px 5px 10px 5px;
    margin-right: 25px;
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box; 
}

div#manufacturers-feature-image {
    width: 100%;
    height: 210px;

    background-image: url('/images/FeatureManufacturers.png');
    background-repeat: no-repeat;
    background-position: top;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
  div#manufacturers-feature-image {
    background-image: url('/images/FeatureManufacturers@2x.png');
    background-size: 250px 196px;
  }
}

/* Swift Feature */

div#swift-feature {
    padding: 10px 20px 10px 20px;
    margin-right: 25px;
    border-radius: 20px;
}

a.cascable-pill-button-white {
    background: rgba(255, 255, 255, 1);
}

div#swift-feature-image {
    width: 100%;
    height: 130px;
    background-image: url('/images/FeatureXcodeSwift.png');
    background-repeat: no-repeat;
    background-position: center;
    
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
  div#swift-feature-image {
    background-image: url('/images/FeatureXcodeSwift@2x.png');
    background-size: 250px 130px;
  }
}

/* Field tested feature */

div#field-feature {
    padding: 10px 5px 10px 5px;
    margin-left: 25px;
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box; 
}

div#field-feature-image {
    width: 100%;
    height: 210px;
    background-repeat: no-repeat;
    background-position: center;
    
}

div#app-reviews div.review-item {
    width: 250px;
    margin: auto;
    padding-top: 30px;
}

div#app-reviews p.review-title {
    font-weight: bold;
    font-size: 11pt;
    text-align: center;
    margin-bottom: 5px;
}

div#app-reviews p.review-body {
    text-align: center;
    margin-bottom: 5px;
    color: #333333;
    font-size: 14px;
}

div#app-reviews p.review-source {
    color: black;
    font-size: 14px;
    text-align: right;
    font-style: italic;
    font-weight: bold;
}

div#app-reviews p.review-source a {
    text-decoration: none;
    color: black;
}

/* Get started for free */

div#eval-feature {
    padding: 10px 5px 10px 5px;
    margin-left: 25px;
    
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box; 
}

div#eval-feature-image {
    width: 100%;
    height: 130px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ---- User List ---- */

table.users {
    margin-top: 40px;
    width: 100%;
}

table.users th {
    font-weight: bold;
    text-align: left;
}

table.users td {
    padding-top: 8px;
    width: 200px;
}

table.users td.button {
    width: 50px;
}

/* ---- Licenses ---- */

div.no-licenses {
    padding: 20px;
}

div.no-licenses p {
    font-weight: bold;
    font-size: 18px;
    color: grey;
}

div.no-licenses form {
    text-align: center;
}

div.request-new-license form {
    text-align: center;
}

div.license-row {
    padding-top: 20px;
    padding-bottom: 20px;
}

table.license-table td {
    padding: 2px;
    width: 200px;
}

table.license-table tr.header td {
    font-weight: bold;
}

table.license-table td.button {
    width: 0px;
}

/* ---- Forms ---- */

table.form-table td {
    padding: 2px;
    padding-left: 10px;
    width: 200px;
}

table.form-table td:nth-child(2) {
    width: 300px;
}

table.form-table td.textarea-label {
    vertical-align: top;
}

table.form-table td.required {
    font-weight: bold;
}

table.form-table td:first-of-type {
    text-align: right;
}

table.form-table input[type=text] {
    width: 200px;
}

table.form-table input[type=email] {
    width: 200px;
}

table.form-table input[type=password] {
    width: 200px;
}

table.form-table textarea {
    width: 400px;
    height: 300px;
}

table.form-table label.field-error {
    display: block;
    color: red;
    padding-right: 0px;
}

p.error {
    color: red;
    font-weight: bold;
}

p.form-sublabel {
    font-size: 12pt;
    margin-bottom: 0px;
}

/* ---- Tabs ---- */

div.tabs-container {
    width: 100%;
    background: none;
    margin: auto;
    position: relative;
}

div.tabs {
    background: none;
    position: absolute;
    top: 0px;
    z-index: 2;
    height: 40px;
}

div.tabs-filler {
    height: 40px;
    width: 100%;
}

div.tab {
    height: 39px;
    background: #f1f1f1;
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid #ccc;
    border-bottom: none;
    z-index: 2;
    line-height: 38px;
}

div.tab a {
    color: black;
    text-decoration: none;
}

div.tab-selected {
    background: #fafafa;
    font-weight: bold;
    position: relative;
    overflow: visible;
    height: 40px;
}

div.tab-content {
    border: 1px solid #ccc;
    background: #fafafa;
    padding: 40px;
}
