@charset "utf-8";
/*
Template Name: Encovers
Author: <a href="http://www.os-templates.com/">OS Templates</a>
Author URI: http://www.os-templates.com/
Licence: Free to use under our free template licence terms
Licence URI: http://www.os-templates.com/template-terms
File: Layout CSS
*/

@import url("fontawesome-4.3.0.min.css");
@import url("custom.flexslider.css");
@import url("framework.css");

/* Rows
--------------------------------------------------------------------------------------------------------------- */
.row1, .row1 a{}
.row2, .row2 a{}
.row3, .row3 a{}
.row4, .row4 a{}
.row5, .row5 a{}


/* Header
--------------------------------------------------------------------------------------------------------------- */
#header{padding-top:20px;}

#header #logo{}
#header #logo h1{margin:0 0 20px 0; padding:0; font-size:32px;}


/* Page Intro
--------------------------------------------------------------------------------------------------------------- */
#pageintro{}

#pageintro .slides{}
#pageintro .slides li{}
#pageintro .slides li::after{display:block; position:absolute; top:0; left:0; width:100%; height:0%; content:"";}
#pageintro .slides li .flex-content{padding:600px 0 250px; text-align:center; z-index:1;}
#pageintro .slides li .flex-content *{margin:0; white-space:normal; word-wrap:break-word;}
#pageintro .slides li .flex-content .heading{margin-bottom:15px; font-size:100px;}
#pageintro .slides li .flex-content p:first-of-type{max-width:50%; margin:0 auto 30px; line-height:1.4;}


/* Testimonials
--------------------------------------------------------------------------------------------------------------- */
#testimonials{}

#testimonials .slides{}
#testimonials .slides li{}
#testimonials .slides li .flex-content{padding:100px 0;}
#testimonials .slides li .flex-content blockquote{position:relative; min-height:205px; padding:40px 0 0 75px; line-height:2; font-size:16px; overflow:hidden; z-index:1;}
#testimonials .slides li .flex-content blockquote::before{display:block; position:absolute; top:0; left:0; width:240px; height:205px; line-height:.85; font-family:"FontAwesome"; content:"\f10d"; font-size:260px; z-index:-1;}

#testimonials .slides li .flex-content figure{text-align:center;}
#testimonials .slides li .flex-content figure img{width:125px; margin-bottom:20px;}
#testimonials .slides li .flex-content figure figcaption{}
#testimonials .slides li .flex-content figure figcaption em{font-size:.8rem;}


/* Latest
--------------------------------------------------------------------------------------------------------------- */
#latest.centred{padding:100px 0;}

#latest .carousel-items li{width:350px; margin-right:20px; padding-bottom:5px; text-align:center;}
#latest .carousel-items li figure{border:0px solid;}
#latest .carousel-items li figure figcaption{padding:25px 20px;}
#latest .carousel-items li figure figcaption *{margin:0; padding:0;}
#latest .carousel-items li figure figcaption time{font-size:.8rem;}
#latest .carousel-items li figure figcaption .heading{margin-bottom:15px;}


/* Clients
--------------------------------------------------------------------------------------------------------------- */
#clients.centred{padding:50px 0;}
#clients .carousel-items li{width:350px; margin-right:30px;}


/* Content Area
--------------------------------------------------------------------------------------------------------------- */
.container{padding:80px 0;}

/* Content */
.container .content{}

.services article{text-align:center;}
.services article i{display:inline-block; width:60px; height:60px; line-height:60px; margin-bottom:20px; border:1px solid; font-size:30px;}
.services article .heading{margin-bottom:10px;}
.services article footer{margin-top:15px;}

/* Comments */
#comments ul{margin:0 0 40px 0; padding:0; list-style:none;}
#comments li{margin:0 0 10px 0; padding:15px;}
#comments .avatar{float:right; margin:0 0 10px 10px; padding:3px; border:1px solid;}
#comments address{font-weight:bold;}
#comments time{font-size:smaller;}
#comments .comcont{display:block; margin:0; padding:0;}
#comments .comcont p{margin:10px 5px 10px 0; padding:0;}

#comments form{display:block; width:100%;}
#comments input, #comments textarea{width:100%; padding:10px; border:1px solid;}
#comments textarea{overflow:auto;}
#comments div{margin-bottom:15px;}
#comments input[type="submit"], #comments input[type="reset"]{display:inline-block; width:auto; min-width:150px; margin:0; padding:8px 5px; cursor:pointer;}

/* Sidebar */
.container .sidebar{}

.sidebar .sdb_holder{margin-bottom:50px;}
.sidebar .sdb_holder:last-child{margin-bottom:0;}


/* Footer
--------------------------------------------------------------------------------------------------------------- */
#footer{padding:80px 0; line-height:2;}

#footer .icon{display:inline-block; width:50px; height:50px; line-height:45px; margin-bottom:10px; border:1px solid; text-align:center; font-size:24px;}

#footer .title{margin:0 0 30px 0;}

#footer .linklist li{margin-bottom:10px;}
#footer .linklist li:last-child{margin-bottom:0;}

#footer .smallfont{margin:0; font-size:.8rem;}

#footer input, #footer button{border:none;}
#footer input{display:block; width:100%; padding:8px;}
#footer button{padding:6px 12px 8px; text-transform:uppercase; cursor:pointer;}


/* Copyright
--------------------------------------------------------------------------------------------------------------- */
#copyright{padding:20px 0;}
#copyright *{margin:0; padding:0;}


/* Transition Fade
--------------------------------------------------------------------------------------------------------------- */
.faico a, #mainav *, #backtotop, .btn, input, textarea, .services a, .services i, #latest .carousel-items *{transition:all .3s ease-in-out;}


/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */


/* Navigation
--------------------------------------------------------------------------------------------------------------- */
nav ul, nav ol{margin:0; padding:0; list-style:none;}

#mainav, #breadcrumb, .sidebar nav{line-height:normal;}
#mainav .drop::after, #mainav li li .drop::after, #breadcrumb li a::after, .sidebar nav a::after{position:absolute; font-family:"FontAwesome"; font-size:14px; line-height:14px;}

/* Top Navigation */
#mainav{margin-top:21px; text-transform:; font-style:normal;}
#mainav ul{}
#mainav ul ul{z-index:9999; position:absolute; width:225px;}
#mainav ul ul ul{left:225px; top:0;}
#mainav li{display:inline-block; position:relative; margin:0 15px 0 0; padding:0;}
#mainav li:last-child{margin-right:0;}
#mainav li li{width:100%; margin:0;}
#mainav li a{display:block; padding:0 0 20px 0;}
#mainav li li a{border:solid; border-width:0 0 1px 0;}
#mainav .drop{padding-left:15px;}
#mainav li li a, #mainav li li .drop{display:block; margin:0; padding:10px 15px;}
#mainav .drop::after, #mainav li li .drop::after{content:"\f0d7";}
#mainav .drop::after{top:5px; left:5px;}
#mainav li li .drop::after{top:15px; left:5px;}
#mainav ul ul{visibility:hidden; opacity:0;}
#mainav ul li:hover > ul{visibility:visible; opacity:1;}

#mainav form{display:none; margin:0; padding:0;}
#mainav form select, #mainav form select option{display:block; cursor:pointer; outline:none;}
#mainav form select{width:100%; padding:5px; border:1px solid;}
#mainav form select option{margin:3px; padding:0; border:none;}

/* Breadcrumb */
#breadcrumb{padding:30px 0; text-transform:lowercase; font-style:italic;}
#breadcrumb ul{margin:0; padding:0; list-style:none;}
#breadcrumb li{display:inline-block; margin:0 6px 0 0; padding:0;}
#breadcrumb li a{display:block; position:relative; margin:0; padding:0 12px 0 0; font-size:14px;}
#breadcrumb li a::after{top:3px; right:0; content:"\f101";}
#breadcrumb li:last-child a{margin:0; padding:0;}
#breadcrumb li:last-child a::after{display:none;}

/* Sidebar Navigation */
.sidebar nav{display:block; width:100%;}
.sidebar nav li{margin:0 0 3px 0; padding:0;}
.sidebar nav a{display:block; position:relative; margin:0; padding:5px 10px 5px 15px; text-decoration:none; border:solid; border-width:0 0 1px 0;}
.sidebar nav a::after{top:9px; left:5px; content:"\f101";}
.sidebar nav ul ul a{padding-left:35px;}
.sidebar nav ul ul a::after{left:25px;}
.sidebar nav ul ul ul a{padding-left:55px;}
.sidebar nav ul ul ul a::after{left:45px;}

/* Pagination */
.pagination{display:block; width:100%; text-align:center; clear:both;}
.pagination li{display:inline-block; margin:0 2px 0 0;}
.pagination li:last-child{margin-right:0;}
.pagination a, .pagination strong{display:block; padding:8px 11px; border:1px solid; background-clip:padding-box; font-weight:normal;}

/* Back to Top */
#backtotop{z-index:999; display:inline-block; position:fixed; visibility:hidden; bottom:20px; right:20px; width:36px; height:36px; line-height:36px; font-size:16px; text-align:center; opacity:.2;}
#backtotop i{display:block; width:100%; height:100%; line-height:inherit;}
#backtotop.visible{visibility:visible; opacity:.5;}
#backtotop:hover{opacity:1;}


/* Tables
--------------------------------------------------------------------------------------------------------------- */
table, th, td{border:1px solid; border-collapse:collapse; vertical-align:top;}
table, th{table-layout:auto;}
table{width:100%; margin-bottom:15px;}
th, td{padding:5px 8px;}
td{border-width:0 1px;}


/* Gallery
--------------------------------------------------------------------------------------------------------------- */
#gallery{display:block; width:100%; margin-bottom:50px;}
#gallery figure figcaption{display:block; width:100%; clear:both;}
#gallery li{margin-bottom:30px;}


/* Font Awesome Social Icons
--------------------------------------------------------------------------------------------------------------- */
.faico{margin:0; padding:0; list-style:none;}
.faico li{display:inline-block; margin:5px 2px 0 0; padding:0; line-height:normal;}
.faico li:last-child{margin-right:0;}
.faico a{display:inline-block; width:30px; height:30px; line-height:30px; font-size:16px; text-align:center;}

.faico a{color:inherit; background-color:#3D4247;}
.faico a:hover{color:#ffffff;}

.faicon-facebook:hover{background-color:#3B5998;}
.faicon-google-plus:hover{background-color:#DB4A39;}
.faicon-instagram:hover{background-color:#3F729B;}
.faicon-linkedin:hover{background-color:#0E76A8;}
.faicon-tumblr:hover{background-color:#34526F;}
.faicon-twitter:hover{background-color:#00ACEE;}


/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */


/* Colours
--------------------------------------------------------------------------------------------------------------- */
body{color:#3D4247; background-color:#fff; border-color:#232830;}
a{color:#740013;}
hr, .borderedbox{border-color:#D7D7D7;}
label span{color:#FF0000; background-color:inherit;}
input:focus, textarea:focus, *:required:focus{border-color:#740013;}
.overlay{color:#FFFFFF; background-color:inherit;}
.overlay::after{color:inherit; background-color:rgba(118,7,0,.99);}
.overlay-2::after{color:inherit; background-color:rgba(130,150,150,.8);}
.btn{color:inherit; background-color:transparent; border-color:inherit;}
.btn:hover{color:#FFFFFF; background-color:#740013; border-color:#740013;}


/* Rows */
.row1{color:#fff; background-color:#740013;}
.row2{color:#D7D7D7; background-color:#666666;}
.row3{color:#4B4E50; background-color:#ffffff;}
.row4{color:#FFFFFF; background-color:#232830;}
.row5, .row5 a{color:#D7D7D7; background-color:#740013;}


/* Header */
#header #logo a{color:inherit;}


/* Content area */
.services a{color:inherit;}
.services i{color:#D7D7D7; border-color:#D7D7D7;}
.services li:hover a{color:#740013;}
.services li:hover i{color:inherit; border-color:inherit;}


/* Sliders + Carousels */
.flex-wrapper .flex-direction-nav a{color:#fff;}

#testimonials .slides li .flex-content blockquote::before{color:rgba(255,255,255,.15);}

#latest .carousel-items li a figure{border-color:#D7D7D7}
#latest .carousel-items li a:hover figure{border-color:#740013;}
#latest .carousel-items li a figure figcaption{color:#4B4E50; background-color:#FFFFFF;}
#latest .carousel-items li a:hover figure figcaption{color:#FFFFFF; background-color:#740013;}


/* Footer */
#footer .icon, #footer hr, #footer .borderedbox{border-color:#inherit;}
#footer .title{color:inheritccc; background-color:inherit;}
#footer input{color:#2b2a2b; background-color:#740013;}
#footer button{color:#fff; background-color:#740013;}


/* Navigation */
#mainav li a{color:#fff;}
#mainav .active a, #mainav a:hover, #mainav li:hover > a{color:#fff; background-color:740013;}
#mainav li li a, #mainav .active li a{color:#FFFFFF; background-color:rgba(0,0,0,.6); border-color:rgba(0,0,0,.6);}
#mainav li li:hover > a, #mainav .active .active > a{color:#FFFFFF; background-color:#740013;}
#mainav form select{color:#fff; background-color:#FFFFFF; border-color:#D7D7D7;}

#breadcrumb a{color:inherit; background-color:inherit;}
#breadcrumb li:last-child a{color:#740013;}

.container .sidebar nav a{color:inherit; border-color:#D7D7D7;}
.container .sidebar nav a:hover{color:#740013;}

.pagination a, .pagination strong{border-color:#D7D7D7;}
.pagination .current *{color:#FFFFFF; background-color:#740013;}

#backtotop{color:#FFFFFF; background-color:#740013;}


/* Tables + Comments */
table, th, td, #comments .avatar, #comments input, #comments textarea{border-color:#D7D7D7;}
#comments input:focus, #comments textarea:focus, #comments *:required:focus{border-color:#740013;}
th{color:#FFFFFF; background-color:#373737;}
tr, #comments li, #comments input[type="submit"], #comments input[type="reset"]{color:inherit; background-color:#FBFBFB;}
tr:nth-child(even), #comments li:nth-child(even){color:inherit; background-color:#F7F7F7;}
table a, #comments a{background-color:inherit;}


/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */


/* Media Queries
--------------------------------------------------------------------------------------------------------------- */
@-ms-viewport{width:device-width;}


/* Max Wrapper Width - Laptop, Desktop etc.
--------------------------------------------------------------------------------------------------------------- */
@media screen and (min-width:1080px){
	#header, #breadcrumb, .container, .centred, #footer, #copyright{max-width:1080px;}
}


/* Smartphone + Tablet
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:900px){
	#header, #breadcrumb, .container, .centred, #footer, #copyright{max-width:90%;}

	#header{padding:30px 0;}
	#header #logo h1{margin:0;}

	#mainav{margin-top:5px;}
	#mainav ul{display:none;}
	#mainav form{display:block;}

	#breadcrumb{}

	#pageintro .slides li .flex-content{padding:200px 0 150px;}
	#pageintro .slides li .flex-content .heading{font-size:54px;}
	#pageintro .slides li .flex-content p:first-of-type{max-width:75%;}

	#testimonials .slides li .flex-content blockquote{padding-left:25px;}

	.container{}
	#comments input[type="reset"]{margin-top:10px;}
	.pagination li{display:inline-block; margin:0 5px 5px 0;}

	.centred{}

	#footer{}

	#copyright{}
	#copyright p:first-of-type{margin-bottom:10px;}
}


@media screen and (max-width:750px){
	.imgl, .imgr{display:inline-block; float:none; margin:0 0 10px 0;}
	.fl_left, .fl_right{display:block; float:none;}
	.one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter{display:block; float:none; width:auto; margin:0 0 30px 0; padding:0;}

	#header{text-align:center;}
	#mainav{margin-top:15px;}

	#pageintro .slides li .flex-content{padding:100px 0;}
	#pageintro .slides li .flex-content .heading{font-size:32px;}
	#pageintro .slides li .flex-content p:first-of-type{max-width:none; width:100%;}

	#testimonials .slides li .flex-content{padding:65px 0;}
	#testimonials .slides li .flex-content figure{margin-bottom:0;}

	.container, #footer{padding-bottom:50px;}

	#footer .group:first-of-type div:last-child{margin-bottom:0;}
}


/* Other
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:650px){
	.scrollable{display:block; width:100%; margin:0 0 30px 0; padding:0 0 15px 0; overflow:auto; overflow-x:scroll;}
	.scrollable table{margin:0; padding:0; white-space:nowrap;}

	.inline li{display:block; margin-bottom:10px;}
	.pushright li{margin-right:0;}

	.font-x2{font-size:1.4rem;}
	.font-x3{font-size:1.6rem;}
}

/* IFRAME
-------------------------------------------------------------------------------------------------------------------*/
[style*="--aspect-ratio"] > :first-child {
  width: 100%;
}

[style*="--aspect-ratio"] > img {  
  height: auto;
}

@supports (--custom:property) {
  [style*="--aspect-ratio"] {
    position: relative;
  }
  
  [style*="--aspect-ratio"]::before {
    content: "";
    display: block;
    padding-bottom: calc(100% / (var(--aspect-ratio)));
  }
  
  [style*="--aspect-ratio"] > :first-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }  
}