/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #000;
    font-size: 1em;
    line-height: 1.6;
	font-family: 'Open Sans', sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

strong {font-weight:600}

a {text-decoration:none; color:#000}
a:hover {color:#ff0000}

.clear {
	clear:both}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== 
   
   font-family: 'Goudy Modern MT'
font-family: 'Monotype Goudy Modern Std Regular'
font-family: 'Monotype Goudy Modern Std Bold'*/

div.content, footer  { width:95%; max-width:1050px; text-align:center; margin:0 auto}
.header {position:fixed; top:0; left:0; width:100%; text-align:center; margin:0 auto; background:#fff; z-index:2;}
header {background:#fff; position:fixed; top:0; left:0; z-index:2;}
div.logo img {width:95%; max-width:400px; height:auto; margin-top:20px;}   
   
h1 {font-family: 'Goudy Modern MT'; font-size:29px; letter-spacing:6px; text-align: center; margin:20px 0 0 0; font-weight:normal; line-height:23px}

h2 {font-family: 'Goudy Modern MT'; font-size:32px; letter-spacing:1px; color:#888;font-weight:normal; text-align:center; width:100%; margin: 0 0 15px 0;}

h2 img {float:right; margin-left:-16px; margin-top:20px;}
h1 span { visibility:hidden}
   
h3 {font-family: 'Open Sans', sans-serif; font-size:20px; letter-spacing:1px; color:#888;font-weight:400; text-align:center; width:100%}

ul.menu {list-style:none; width:95%; max-width:1050px; text-align:center; margin:20px auto; -webkit-padding-start: 0px; padding:0;}
ul.menu li { width:19%;display:inline-block; text-align:center;}
ul.menu li:first-child {margin-left:0}
ul.menu li:last-child {margin-right:0}
ul.menu li a {font-family: 'Goudy Modern MT'; font-size:22px; min-width:100px; display: inline-block; height:1.6; padding-bottom:5px; letter-spacing:1px; color:#666; text-decoration:none}
ul.menu li a:hover {background:url(../img/underline.png) bottom center no-repeat; color:#666;}

div.samples { width:100%; margin:0 0 20px }
div.samples img {width:20%; height:auto}

#content {
	position:relative;
	top:300px;
	width:100%;
	z-index:0;
}

.content .box {
	padding-bottom:20px
}
.content p {
	text-align:left;
	margin: 0 0 20px 0;
	font-size:0.9em;
	line-height:2;
}

.content .twocol {
-webkit-column-count: 2;
  -webkit-column-gap: 40px; /* Saf3, Chrome*/
  -moz-column-count: 2;   
  -moz-column-gap: 40px; /* FF3.5+ */
  column-count: 2;        
  column-gap: 40px; /* Opera 11+*/
}

.content .coltwo {
	width:48.5%;
	float:left;
}

.content .coltwo.right {
	margin-left:3%
}

.content .col3 {
	width:40%;
	float:left;
}

.content .col3.right {
		float: right;
		width: auto;
}
.content .teampic { float:left; margin-right:15px; width:30%; height:auto; min-width:120px;}

.testimonial-box {
	overflow: hidden;
	padding-bottom: 10px;
}

.testimonial-post {
	font-family: 'Goudy Modern MT';
	position: relative;
	padding: 30px 20px 20px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-o-border-radius: 10px;
	margin-bottom:15px;
	margin-top:15px;
	width:48.5%;
	float:left;
	min-height:240px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	background:#efefef;
}

.testimonial-post:nth-child(2n+2) {
	margin-left:3%
}

.testimonial-post:after {
	content: '';
	position: absolute;
	width: 50px;
	height: 40px;
	left: 15px;
	top: -20px;
	background: url(../img/quotes.png) center center no-repeat;
}

.testimonial-post p {
	color: #333333;
	font-size: 15px;
	font-family: 'Goudy Modern MT';
	line-height: 24px;
	margin-bottom: 6px;
	line-height:1.6;
}

span.date-post {
	display: block;
	color: #333333;
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
	margin-bottom: 20px;
	font-weight: 600;
}

.tesimonial-autor {
	overflow: hidden;
	text-align:right
}

.tesimonial-autor img {
	float: right;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	margin-left: 15px;
}

.tesimonial-autor h4 {
	color: #333333;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	margin-bottom: 0;
	margin-top: 13px;
	line-height: 15px;	
}
.tesimonial-autor p {
	font-size: 12px;
	font-family: 'Open Sans', sans-serif;
	text-align:right;
}

.tesimonial-autor h4 a {
	color: #a086d3;	
}

.tesimonial-autor > a {
	color: #31bdeb;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
}

#clients p {
	text-align:center
}

/* client logos*/
 #owl-demo .item{
        margin: 6px;
		border:1px #ccc solid;
    }
    #owl-demo .item img{
        display: block;
        width: 100%;
        height: auto;
		
    }
	
	#owl-demo .item img:hover {
		opacity:0.8;
		cursor:pointer;
	}


div.footer {
	padding:25px 0;
	font-size:12px;
	text-align:left;
	color:#888;
}
	


.bottom {height:1400px; width:100%}













/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 1110px) {

.content .col3 {
	width:32%;
	float:left;
}

.content .col3.right {
		float: right;
		width: 32%;
}
}
   
@media only screen and (max-width: 900px) {
	h2 { font-size:23px;}
	.content p {
	margin: 0 0 25px 0;
	font-size:0.85em;
	line-height:1.7;
}
.testimonial-post { min-height:280px}
ul.menu li a {font-size:20px;}
	
}

@media only screen and (max-width: 720px) {
	.header {position:relative;}
	header {position:relative;}
	#content {top:0px;}
	.bottom { display: none}
	
	div.logo img { max-width:70%}

.content .col3 {
	width:95%;
	margin-left: 3%;
	float: none;
}

.content .col3.right {
			width:95%;
	margin-left: 3%;
		float: none;
}
}

@media only screen and (max-width: 650px) {
	
	
	.content .twocol {
-webkit-column-count: 1;
  -webkit-column-gap: 0; /* Saf3, Chrome*/
  -moz-column-count: 1;   
  -moz-column-gap: 0; /* FF3.5+ */
  column-count: 1;        
  column-gap: 0; /* Opera 11+*/
}

ul.menu li { width:20%;}
ul.menu li a {font-size:17px;}

.content .coltwo {
	width:100%;
	float: none;
}

div.samples {
width: 100%;
margin: -20px 0 0 0;
}

.content .coltwo.right {
	margin-left:0
}

.testimonial-post {
	width:100%;
	float:none;
	min-height:200px;
	margin-left:0 !important
}

.testimonial-post:nth-child(2n+2) {
margin-left:0;
}

h1 {font-size:22px; letter-spacing:2px; text-align:center;}
h1 span {display:none}

}

@media only screen and (max-width: 450px) {
    /* Style adjustments for viewports that meet the condition */
	ul.menu li { width:100%;}
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
