/* Copyright (c) 2015 Social Graph Studios Inc. */

#main-nav {
    background: rgba(0,0,0,0.5) !important;
}
h1 {
    margin: 0 0 0.20em 0;
}
h2 {
    margin: 3.3em 0 2.5em 0;
}
#header .header-content h1 {
    font-weight: 100;
    margin: 0 0 0.20em 0;
    letter-spacing: 0.5px;
}
#header .header-content h2 {
    font-weight: 300;
	font-size: 1.2em;
    margin: 0 0 3% 0;
}
#header .header-content {
	max-width: 960px;
	margin: 0 auto;
	padding: 50px 0 0 0;
	position: relative;
}
#header .header-content .text-and-buttons {
	display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	padding: 10px;
}
#header .header-content .text {
    padding: 10px 10px;	
}
@media (min-width: 701px)  { #header .header-content .text-and-buttons { height: 270px; } }
#header .header-content .text-and-buttons > div {
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 1px;
    flex: 1 0 auto;
	-webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
	min-width: 300px;
    white-space: nowrap;
}
#header .header-content .button { 
	display: inline-block;
	margin: 10px;
	position: relative;
}
#header .header-content .button * {
    -webkit-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
}
#header .header-content .button > a {
	position: relative;
    display: inline-block;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
    padding: 1em 2.75em;
    color: white;
    font-weight: 300;
	font-size: 0.9em;
}
#header .header-content .button a:hover
{
    background: rgba(255,255,255,0.4);
}
#header .header-content .button > div
{
    padding-top: 5px;
	font-size: 0.7em;
}
#header .header-content .button .disclosure
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
	z-index: 10;
}
#header .header-content .button .disclosure a {
	text-decoration: underline;
}
#header .header-content .button .info {
}
#header .header-content .button:hover .disclosure {
    opacity: 1;
}
#header .header-content .button:hover .info {
	opacity: 0;
}

#preamble p + p {
    padding-top: 0.3em;
}

.section-content {
    max-width: 950px;
    color: black;
    line-height: 180%;
    margin: 0 auto;
    padding: 0 20px;
}
.section-break {
    padding: 1.75em 0;
}


#xcode-img a {
    display: -webkit-flex;
    display: -ms-flexbox;
	display: flex;
    margin: 0 auto;
	width: 658px;
	height: 441px;
    box-shadow: 0px 1px 9px 0px rgba(0,0,0,0.75);
	background: url('images/xcode1.png') no-repeat 0 0;
	background-size: 100% auto;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
	justify-content: center;
}
@media (max-width: 700px) { 
    #xcode-img a {
       width: 564px;
       height: 378px; 
    }
}
@media (max-width: 600px) { 
    #xcode-img a {
       width: 470px;
       height: 315px; 
    }
}
@media (max-width: 500px) { 
    #xcode-img a { 
       width: 376px;
       height: 252px; 
    }
}
@media (max-width: 400px) { 
    #xcode-img a { 
       width: 282px;
       height: 189px; 
    }
}
#xcode-img .play-btn {
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
	width: 15%;
	min-width: 60px;
	max-width: 132px;
	height: 93px;
	margin-top: 2em;
	background: url('images/play_btn_grey.png') no-repeat 0 50%;
    background-size: contain;
}
#xcode-img a:hover .play-btn,
#xcode-img .bg_preloader {
    background-image: url('images/play_btn_red.png');
}
#xcode-img .bg_preloader {
	position: absolute;
	left: -99999px;
	width: 1px;
	height: 1px;
}

#features-section {
	background: #f8f8f8;
}

ul.grid {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
ul.grid li {
    -webkit-flex: 1 0 40%;
    -ms-flex: 1 0 40%;
    flex: 1 0 40%;
    padding: 0 20px 0 90px;
	margin: 1em 0;
    background: no-repeat 10px 5px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: 1px;
}
/*
 * Previously used min-width to specify the li width, but Safari 9 has a bug
 * where it doesn't calculate the wrap point properly if there's a flex-base 
 * and a min-width.  We'll use media queries instead. 
 */
@media (max-width: 750px) {
	ul.grid li {
        -webkit-flex: 1 0 100%;
        -ms-flex: 1 0 100%;
        flex: 1 0 100%;
    }
}
@media (max-width: 400px) { 
    ul.grid li {
        padding-left: 60px;
    	background-size: 32px 32px;   	
    }
}    
.grid .customizable {
    background-image: url('images/gear.png');
}
.grid .multi-lang {
    background-image: url('images/seo3-96-64.png');
}
.grid .spelling {
    background-image: url('images/seo2-50.png');
}
.grid .comment-wrapping {
    background-image: url('images/seo-32-64.png');
}
.grid .comment-complete {
    background-image: url('images/files-48-64.png');
}
.grid .reformat {
    background-image: url('images/article_submission-64.png');
}

#team-image {
	min-height: 318px;
	background: #52504f url('images/team.jpg') no-repeat 0 30%;
	background-size: 100% auto;
	color: white;
	text-align: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
#team-image > div {
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
	padding: 0 2em;
	margin: 0 auto;
	max-width: 900px;
}
#team-image h2 {
	color: white;
	margin: 0 0 1em 0; 
}
#team-image p {
	font-size: 1.25em;
	line-height: 140%;
	font-weight: 300;
}
@media (max-width: 500px) {
	#team-image {
        background-size: 600px auto;
        background-position: -130px -35px;
    }
    #team-image p {
	   font-size: 1.15em;
    }
}
@media (max-width: 400px) {
    #team-image {
        background-position: -200px -40px;
    }
}
@media (min-width: 1072px) {
    #team-image > div {
    	padding-top: 7%;
        padding-bottom: 7%;
    }
}


#benefits {
	text-align: center;
}
#benefits h2 {
	color: black;
	line-height: 130%;
	margin: 0 0 0.75em 0;
}
#benefits * {
    -webkit-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}
#benefits .button {
    display: inline-block;
    background: #93b5cc;
    border-radius: 5px;
    padding: 0.5em 3.8em;
    color: white;
    font-weight: 300;
    font-size: 1.6em;
	text-decoration: none;
}
#benefits .button:hover {
	background: rgba(147, 181, 204, 0.8);
}
#benefits .info {
	padding-top: 5px;
	font-size: 10pt;
	line-height: 17pt;
}
#benefits .trial {
	font-weight: 400;
	font-size: 1.3em;
	margin-top: 0.5em;
}
#benefits .trial a {
	color: #000;
}

#trial-info-lnk-container {
    display: inline-block;
    border-radius: 50%;
    width: 1.0em;
    height: 1.0em;
    vertical-align: top;
    border: 2px solid white;
    text-align: center;
    background: #93b5cc;
	line-height: 0.9em;
}
#benefits .trial #trial-info-lnk {
    vertical-align: top;
	display: inline-block;
	font-size: 0.7em;
	text-decoration: none;
	padding: 0;
    color: white !important;
}
#trial-info-lnk-container:hover {
    background: rgba(147, 181, 204, 0.8);
}
