/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
	font-family: 'Open Sans', sans-serif;
}

body {
    font-size: 1em;
    line-height: 1.5;
	font-weight:400;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html, body{
	width:100%; 
	height:100%;
	overflow: auto;
	}
.wrap{
	min-height:100%;
	background:#fbfbfb;
	}
* html .wrap{
	height: 100%;
	}
.wrap, footer{
	width:100%;
	min-width:1260px;
	margin-left:auto;
	margin-right:auto;
	}
.lt-ie9 .wrap, .lt-ie9 footer{
	width:1259px;
	}
header{
	padding-top:30px;
	}
header,
header a{
	color:#1a4369;
	}
.content{
	}
footer{
	position:relative;
	z-index:1;
	padding:30px 0 0 0;
	height:135px;
	margin-top:-135px;
	background: #1a4369;
	box-sizing:border-box;
	-moz-box-sizing: border-box;
	}
footer,
footer a{
	color:#fff;
	}
.inner-wrap{
	position:relative;
	padding-bottom:175px;
	}
	
.width-ruler{
	margin:0 auto;
	width:1080px;
	box-sizing:border-box;
	-moz-box-sizing: border-box;
	}
	
header .width-ruler,
footer .width-ruler{
	position:relative;
	}
	
	
/* typo */
.keeptogether {
	display: inline-block;
	width: 100%;
	}
	
.nowrap{
	white-space:nowrap;
	}

.table{
	display:table;
	width:100%;
	}
.table-row{
	display:table-row;
	}
.table-cell{
	display:table-cell;
	}

.ta_left{text-align:left !important;}
.ta_center{text-align:center !important;}
.ta_right{text-align:right !important;}


.button{
	box-sizing:border-box;
	-moz-box-sizing: border-box;
	padding:0 50px;
	height:42px;
	line-height:42px;
	border:1px solid #8d8d8d;
	text-decoration:none;
	text-transform:uppercase;
	color:#fff;
	font-size:18px;	
	background-image:url(../img/button-1.png);
	background-position:50% -4px;
	background-repeat:no-repeat;
	/* background-size:contain; */
	}
.borderradius .button{
	-webkit-border-radius:5px;
	border-radius:5px;
	}
.button-1{
	background-color:#2f95cf;
	}
.button-1:hover{
	background-color:#0e8ad1;
	}

.button-2{
	background-color:#1a4369;
	}
.button-2:hover{
	background-color:#072643;
	}


h1{
	margin:0;
	font-size:30px;
	text-transform:uppercase;
	font-weight:700;
	color:#1a4369;
	text-align:center;
	}



.logo-area{
	float:left;
	}
.logo, .logo a{
	display:block;
	width:204px;
	height:40px;
	outline:0;
	}
.logo a{
	background-position:0 0;
	background-repeat:no-repeat;
	}
header .logo a{
	background-image:url(../img/logo.png);
	}
footer .logo a{
	background-image:url(../img/logo2.png);
	}
.logo span{
	margin-left:-10000px;
	}


.contacts-area{
	float:right;
	padding-top:12px;
	}
.logo-area p{
	margin:10px 0 0 0;
	}
.contacts-area p{
	margin:0;
	}
.contacts-area .c-email{
	margin:4px 0 0 0;
	}

.c-phone{
	margin:0;
	}
.c-phone abbr{
	font-size:30px;
	font-weight:600;
	border:0;
	line-height:34px;
	}
.logo-area p,
.contacts-area .c-email{
	font-size:16px;
	}
.c-email a{
	text-decoration:none;
	}
	
.address-area{
	position:absolute;
	left:300px;
	right:300px;
	top:12px;
	text-align:center;
	}

.we-will-find{
	margin-bottom:30px;
	padding:45px 0 0 0;
	background:url(../img/bg-wwf.jpg) no-repeat 50% 0;
	}
.we-will-find h1{
	margin:0 0 45px 0;
	}



.request-form{
	padding:35px 0px;
	background:#4a4a4a;
	background:rgba(0,0,0, .45);
	color:#fff !important;
	}
.request-form .table-wrap ,
.request-form .info-button-area{
	margin-left:auto;
	margin-right:auto;
	width:900px;
	}
.borderradius .request-form{
	-webkit-border-radius:10px;
	border-radius:10px;
	}

.request-form h3{
	margin:0 0 30px 0;
	font-size:30px;
	line-height:1.2em;
	text-transform:uppercase;
	color:#fff !important;
	font-weight:600;
	text-align:center;
	}
.request-form h3 span{
	display:block;
	text-transform:none;
	font-weight:400;
	}
.request-form .table{
	border-spacing: 10px;
	border-collapse:separate;
	}
.request-form .textinput{
	box-sizing:border-box;
	-moz-box-sizing: border-box;
	padding:0 10px 0 20px;
	width:100%;
	border:1px solid #717171;
	height:42px;
	line-height:42px;
	}
.borderradius .request-form .textinput{
	-webkit-border-radius:5px;
	border-radius:5px;
	}

.request-form .info-button-area{
	margin-top:35px;
	}	
.request-form .info-button-area p{
	float:left;
	width:64%;
	margin:0;
	line-height:1.3;
	font-size:16px;
	line-height:24px;
	}
.request-form .button-area{
	float:right;
	padding:5px 10px 0 0;
	}

.request-form .button{
	padding-left:30px;
	padding-right:30px;
	width:285px;	
	}
	
	

.advantages{
	margin-bottom:65px;
	padding:25px 0 30px 0;
	background:#2f95cf;
	color:#fff;
	text-align:center;
	}
.advantages b,
.advantages span{
	display:block;
	}
.advantages b{
	font-size:36px;
	font-weight:700;
	line-height:1.4;
	}
.advantages span{
	font-size:18px;
	font-weight:600;
	line-height:1.3;
	}
.advantages .table-cell{
	padding:0 10px;
	background:url(../img/advantages-sprite.png) no-repeat -10000px -10000px;
	}
.advantages .a-offer{background-position:22px 30px;}
.advantages .a-economy{background-position:30px -311px;}
.advantages .a-companies{background-position:28px -705px;}
.advantages .a-years{background-position:0 -1070px;}
.advantages .a-requests{background-position:14px -1533px;}


.why-its-better{
	text-align:center;
	color:#4a4a4a;
	}
.why-its-better h3{
	margin:0 0 30px 0;
	font-size:30px;
	line-height:1.2em;
	text-transform:uppercase;
	color:#4a4a4a;
	font-weight:600;
	text-align:center;
	}
.why-its-better .table{
	border-spacing: 25px;
	border-collapse:separate;
	table-layout: fixed;
	}
.why-its-better .table-cell{
	padding:130px 30px 0 30px;
	height:160px;
	border:1px solid #dbdbdb;
	background:url(../img/wib-sprite.png) no-repeat -10000px -10000px;
	}
.borderradius .why-its-better .table-cell{
	-webkit-border-radius:5px;
	border-radius:5px;
	}
.why-its-better .wib-fast{background-position:50% 30px;}
.why-its-better .wib-profit{background-position:50% -993px;}
.why-its-better .wib-free{background-position:50% -1488px;}
.why-its-better .wib-safe{background-position:50% -485px;}
.why-its-better .wib-comfort{background-position:50% -1976px;}
.why-its-better .wib-result{background-position:50% -2463px;}

.why-its-better b,
.why-its-better span{
	display:block;
	}
.why-its-better b{
	margin-bottom:8px;
	font-size:24px;
	font-weight:700;
	text-transform:uppercase;
	}
.why-its-better span{
	font-size:16px;
	font-weight:400;
	}
	
	
	
.what-we-do{
	margin-bottom:50px;
	padding:40px 0 60px 0;
	text-align:center;
	background:url(../img/bg-wwd.jpg) no-repeat 50% 0;
	color:#fff;
	background-size:cover;
	}
.actions{
	margin-bottom:50px;
	}
.actions h3{
	margin:0 0 30px 0;
	font-size:30px;
	line-height:1.2em;
	text-transform:uppercase;
	color:#fff;
	font-weight:600;
	text-align:center;
	}
.actions .table{
	border-spacing: 0;
	border-collapse:separate;
	table-layout: fixed;
	background:url(../img/sin2.png) no-repeat 50% 0;
	}
	/*
.actions .table-cell{
	background:url(../img/sin.png) no-repeat 0 0;
	}
.actions .table-cell:nth-child(odd){
	background-position:-30px 0px;
	}
.actions .table-cell:nth-child(even){
	background-position:-320px 00px;
	}
	*/

.actions .ico{
	display:block;
	margin:0 auto 40px auto;
	width:100px;
	height:100px;
	background-color:#ededed;
	background-image:url(../img/wwd-sprite.png);
	background-position:-10000px -10000px;
	background-repeat:no-repeat;
	}
.actions .wwd-handling .ico{background-position:33px 31px;}
.actions .wwd-select .ico{background-position:-189px 31px;}
.actions .wwd-request .ico{background-position:-401px 31px;}
.actions .wwd-send .ico{background-position:-621px 31px;}
.actions .wwd-control .ico{background-position:-831px 31px;}

.actions .wwd-handling:hover .ico{background-position:33px -83px;}
.actions .wwd-select:hover .ico{background-position:-189px -83px;}
.actions .wwd-request:hover .ico{background-position:-401px -83px;}
.actions .wwd-send:hover .ico{background-position:-621px -83px;}
.actions .wwd-control:hover .ico{background-position:-831px -83px;}

.actions .table-cell:hover .ico{
	background-color:#2f95cf;
	}

.borderradius .actions .ico{
	-webkit-border-radius:50%;
	border-radius:50%;
	}
.actions span{
	display:block;
	font-size:18px;
	font-weight:600;
	}
	
	
	
.companies{
	margin-bottom:30px;
	}
.companies h3{
	margin:0 0 50px 0;
	font-size:30px;
	line-height:1.2em;
	text-transform:uppercase;
	color:#414141;
	font-weight:600;
	text-align:center;
	}
.companies ul,
.companies li{
	margin:0;
	padding:0;
	list-style:none;
	}
.companies ul{
	position:relative;
	left:4px;
	}
.companies li{
	display:inline-block;
	box-sizing:border-box;
	-moz-box-sizing: border-box;
	margin:0 2% 25px -4px;
	padding:0 0px;
	width:18%;
	vertical-align:top;
	}
.companies li a{
	display:block;
	width:180px;
	height:120px;
	line-height:120px;
	border:1px solid #dfdfdf;
	text-align:center;
	}
.borderradius .companies li a{
	-webkit-border-radius:5px;
	border-radius:5px;
	}
.companies li img{
	max-height:120px;
	max-width:180px;
	}
	
img.grayscale {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}
/*
.companies li a:hover img{
	    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(0%);
	}
*/
.c-popup{
	display:none;
	color:#505050;
	}	
.c-popup h4{
	margin:0 0 20px 0;
	font-weight:700;
	font-size:24px;
	text-transform:uppercase;
	}
.c-popup p{
	margin:0;
	font-weight:300;
	font-size:14px;
	}
	
	
.workflow{
	margin-bottom:60px;
	padding:40px 0 50px 0;
	text-align:center;
	background:url(../img/bg-workflow.jpg) no-repeat 50% 0;
	color:#fff;
	background-size:cover;
	}
.workflow h3{
	margin:0 0 50px 0;
	font-size:30px;
	line-height:1.2em;
	text-transform:uppercase;
	color:#fff;
	font-weight:600;
	text-align:center;
	}


.responses{
	
	}
.responses h3{
	margin:0 0 30px 0;
	font-size:30px;
	line-height:1.2em;
	text-transform:uppercase;
	color:#414141;
	font-weight:600;
	text-align:center;
	}
.responses ul,
.responses li{
	margin:0;
	padding:0;
	list-style:none;
	}
.responses ul{
	margin-bottom:40px;
	padding:0 40px;
	}
.responses li{
	display:inline-block;
	box-sizing:border-box;
	-moz-box-sizing: border-box;
	margin:0 0 20px 0;
	padding:0 40px;
	width:33%;
	vertical-align:top;
	}
.responses h4,
.responses h5{
	margin:0;
	font-weight:700;
	color:#1a4369;
	font-size:18px;
	}
.responses h5{
	margin-bottom:10px;
	font-weight:600;
	}
.responses .date{
	color:#8d8d8d;
	font-style:italic;
	font-weight:300;
	text-align:right;
	font-size:14px;
	}
.responses .text{
	position:relative;
	padding:20px;
	border:2px solid #d1d1d1;
	font-weight:300;
	font-size:14px;
	color:#74878a;
	}
.borderradius .responses .text{
	-webkit-border-radius:5px;
	border-radius:5px;
	}
.responses .text:before{
	content:'';
	position:absolute;
	left:35px;
	top:-17px;
	width:20px;
	height:17px;
	background:url(../img/responses-bubble.gif) no-repeat 0 0;
	}
.responses p{
	margin:0;
	}
.responses .button-area{
	margin-bottom:60px;
	text-align:center;
	}
.responses .request-form{
	background:#4b4b4b;
	}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
