/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

.searchbox button{
  -webkit-appearance: default-button;
  width:15%;
  float:left;
  padding-top: 8px;
}


/* Clear floats */
.searchbox form::after {
  content: "";
  clear: both;
  display: table;
}


html {
    font-size: 1em;
    line-height: 1.4;
}

h1{
    color: #777;
    border-bottom: none;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 5px;
    font: 20px/25px Arial, Geomanist, "\5b8b\4f53", Tahoma, Helvetica, sans-serif;
}


h2 {
    font-size: 1.3em;
    margin: 0.6em 0;
}

/*
 * 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

p.has-1m-font-size{
font-size:1em;
line-height:28px;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

img{max-width:100%; height:auto; border:0 none;}
.headtop {
    background-color: #312c2e;
}

.socialtop a i {color: #fff;border: 1px solid #484546;border-radius: 50%;padding: 6px 10px;}

.socialtop a {
    display: inline-block;
    /* margin-right: 10px; */
}

.socialtop {
    display: inline-block;
    vertical-align: top;
}

.contacttop {
    float: right;
}

.main-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

.main-menu ul li {
    display: inline-block;
}

.main-menu ul li a {
    color: #666;
    font-size: 15px;
    font-family: arial;
    display: block;
    
}

.headbottom {
    padding: 25px 0 10px 0;
    border-bottom: 1px solid #ddd;
}

.footer-bottom {
    background-color: #151515;
}

.footer-top {
    background-color: #414141;
    /* background: url(../wp-content/themes/img/footer-background.jpg) repeat-y 0 0; */
	background-size:cover;
}

.footer-bottom p {
    color: #fff;
    font-size:13px;
}

.projectsection-title h1 {
    color: #101e4e;
    text-align: center;
    font-size: 48px;
    font-family: "Myriad Pro";
    font-weight: normal;
    margin-bottom: 70px;
    margin-top: 100px;
    display:block;
    border:none;
}

.projectsection-title h1 span {
    display: block;
    font-size: 16px;
    color: #272727;
    font-style: italic;
    margin-top: 20px;
}

.singleproject {
    position: relative;
    margin-bottom: 34px;
}

.singleproject h2 {
    position: absolute;
}

.singleproject a img {
    border-radius: 10px;
}

.inner-featured-product {
    position: relative;
}

.inner-featured-product h2 {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
}

.featured-product .col-md-4 {
    padding-right: 10px;
    padding-left: 10px;
}

.featured-product {
    margin-top: 90px;
}

.aboutsection .container-fluid {
    padding-left: 0;
    padding-right: 20px;
}

.home-about {
    margin-left: 10px;
    margin-top:10px;
    max-width: 580px;
}

.home-about h1 {font-family: "Myriad Pro";font-weight: normal;color: #272727;font-size: 40px;letter-spacing: 2px; border:none;margin-top: 5px !important;}

   /* Optional: Add some styling to make it look better */
        .video-container {
            position: relative;
            overflow: hidden;
            margin-bottom: 20px;
        }
        

.footer-widget h2 {
    color: #d2d2d2;
    text-transform: uppercase;
	font-size:1.2em;
}

.footer-widget {
    padding-top: 40px;
    padding-bottom: 20px;
    min-height: 265px !important;
    /* border-left: 1px solid #7b7b7b; */
    padding-left: 40px;
}

.footer-logo {
    padding: 45px 0 55px 0;
}

.footer-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-widget ul li {
    display: block;
}

.footer-widget ul li a {
    display: block;
    color: #d2d2d2;
    padding: 0 0 5px 0;
    font-size: 14px;
    text-decoration: none;
}

.footer-widget p {
    color: #d2d2d2;
}

.aboutsection {
    margin-top: 70px;
}

.main-menu ul li a {
    text-decoration: none;
}

.main-menu ul li.current-menu-item > a, 
.main-menu ul li.current-menu-ancestor > a{
    border-bottom: 3px solid #f7c202;
} 

.banner-wrap img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.contacttop {
    color: #fff;
}

.socialtop a {
   /*  margin-top: 3px;
    margin-bottom: 3px; */
}

.contacttop {
    line-height: 2.2;
}

.footer-logo img {max-width: 67% !important;}

.singleproject:hover a img:first-child{
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.singleproject a img {
    transition: all 1s;
}

.singleproject a img+img {
    position: absolute;
    z-index: 2;
    top: 36%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 210px;
    opacity: 0;
}
 

.singleproject:hover a img+img {
    opacity: 1;
    transition: all 0.5s;
}

.singleproject a:before {content: "";display: block;position: absolute;top: 0;left: 0;z-index: 1;width: 100%;height: 100%;background-color: rgba(0,0,0,0.2);opacity: 0;transition: all 3s;border-radius:10px;}

.singleproject a img:first-child {
    position: relative;
}

.singleproject:hover a:before {
    opacity: 1;
}

.project-portfolio h3 {font-family: "Myriad Pro";font-weight: normal;text-transform: uppercase;color: #c4a475;font-size: 24px;letter-spacing: 0.28em;}

.project-portfolio ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-portfolio > ul>li> ul>li {
    float: left;
    max-width: 20%;
    /* overflow: hidden; */
}

.project-portfolio ul ul {
    text-align: center;
    overflow: hidden;
    clear: both;
}

.project-portfolio > ul>li> ul>li img {

    max-width: 60%;
}


.carousel-inner>.item>img, .carousel-inner>.item>a>img {

         display: block;
    min-width: 100%;
    height: auto;


}

ul.single_brand {
    margin-bottom: 80px;
}

.project-portfolio > ul>li> ul>li {
    position: relative;
}

.project-portfolio > ul>li> ul>li>a {
    position: absolute;
    z-index: 1;
    margin: 0 auto;
    display: block;
    left: 0;
    right: 0;
    bottom: 30px;
    background-color: #f7c202;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    width: 155px;
    padding: 10px 0;
    border-radius: 6px;
    opacity: 0;
}

.brand_image-slider {
    /* position: absolute; */
    /* bottom: 0; */
}

.project-portfolio > ul>li> ul>li:before {content: "";display: block;position: absolute;left: 0;right: 0;background: rgba(0,0,0,0.1);z-index: 1;top: 0;width: 100%;margin: 0 auto;height: 100%;opacity: 0;}

.project-portfolio > ul>li> ul>li:hover>a, .project-portfolio > ul>li> ul>li:hover:before {
    opacity: 1;
}
 
.project-portfolio  a.carousel-control-prev, .project-portfolio  a.carousel-control-next {
	position: absolute;
    top: 45%;
    z-index: 9999;
    padding: 10px;
    background-color: #ddd;
    left: -15px;
    border-radius: 50% 0 0 50%;
}

.project-portfolio  a.carousel-control-next {
	left: inherit;
	right: -15px;
	border-radius: 0 50% 50% 0;
}

.project-portfolio  .modal.fade.and {
    position: fixed;
}

.project-wraper .page-banner img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.inner-title-section {
    font-family: "Myriad Pro";
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom:30px;
}

.inner-title-section h1 {    
    font-family: "Arial";
    font-size: 40px;
    font-weight: normal;
    text-transform: capitalize;
    font-style: normal;
    margin: 24px 0 20px 0;
    border: none;
    padding: 5px 0;
    display: inline;
     }

.title-section {
    padding-top: 60px;
}

.modal-body{padding:0;}

.project-portfolio a.carousel-control-prev, .project-portfolio a.carousel-control-next {
    background-color: transparent;
    left: -15%;
    transform: rotate(180deg);
}

.project-portfolio > ul>li> ul>li a.carousel-control-prev img, 
.project-portfolio > ul>li> ul>li a.carousel-control-next img {
    border: 0 none;
    width: 30px;
    min-height: 10px;
    height: 50px;
}

.project-portfolio a.carousel-control-next {
    left: inherit;
    transform: rotate(0deg);
    right: -15%;
}

.main-menu ul li {
    position: relative;
}

.main-menu ul li ul {
    position: absolute;
    z-index: 999;
    background-color: #fff;
    display: none;
    text-align: left;
   /*  padding-top: 10px; */
}

.main-menu ul li:hover ul {
    display: block;
}

.main-menu ul li ul li a {
    font-size: 16px;
    padding: 5px 10px 5px 10px;
    text-align: left;
    min-width: 220px;
    border-top: 1px solid #ddd;
    color: #000;
}

.main-menu ul li ul li a:hover {
   /*  background-color: #eee; */
    border-color: #f7c202;
}

.inner-cat img {
    min-width: 100%;
    max-width: 100%;
}

.product-cat-wrap .col-md-4 {
    padding-right: 10px;
    padding-left: 10px;
}

.inner-cat {
    margin-bottom: 50px;
}

.product-cat-sidebar ul, .product-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-sidebar ul li a, .product-cat-sidebar ul li a {text-decoration: none;color: #000;padding: 0 0 8px 0;display: block;font-family: "arial";font-size: 16px;font-weight: normal;text-transform: capitalize;}

.product-cat-wrap>div>div>div.col-md-2 {
    width: 20%;
}

.product-cat-wrap>div>div>div.col-md-10 {
    width: 80%;
}

.main-menu ul li a {
    text-transform: uppercase;
}

.product-sidebar > ul >li> a, .product-cat-sidebar > ul >li> a {
    font-weight: 600;
    margin-top: 20px;
}

.product-sidebar > ul >li:first-child> a, .product-cat-sidebar > ul >li:first-child> a {
    margin-top: 0;
}

.contacttop ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contacttop ul li {
    display: inline-block;
    padding: 0 5px 0 0;
}

.contacttop ul li i {
    transform: rotate(45deg);
    color: #ffc800;
    line-height: 0;
}

.contacttop ul li a {
    color: #fff;
    text-decoration: none;
}

.contacttop ul li ul:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    z-index: 3;
    width: 2px;
    height: 22px;
    background-color: #5e5d5d;
}

.contacttop ul li ul {
    position: relative;
    padding-left: 10px;
}

.contacttop {
    padding: 2px 0 0 0;
}

.main-menu {
    float: left;
}

.searchbox {
    float: right;
    max-width: 225px;
    border: 1px solid #e6e6e6;
    background-color: #f3f3f3;border-radius:5px;
}

.searchbox * {
    border: 0 none;
    background-color: transparent;
}

.searchbox input[type=text] {text-transform: capitalize;font-size: 16px;width: 85%;line-height: 26px;padding: 5px 0 5px 5px; float: left;}



.main-menu {
    padding-top: 8px;
}

.searchbox {
    margin-top: 13px;
}

.main-menu ul li a {
    border-bottom: 3px solid transparent;
}

.main-menu ul li a:hover {
    border-bottom: 3px solid #f7c202;
}

.main-menu {width: 70%;padding-top: 24px;}

.main-menu ul li a {
    margin-right: 50px;
}

.headbottom {
    padding-top: 15px;
    padding-bottom: 15px;
}

@media screen and (min-width: 768px) { 
  .project-portfolio .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.project-portfolio .modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}   

.col-md-6.last+.col-md-6 {
    clear: left;
}

.qc-temp h1, .designs-temp h1 {
    color: #777;
    border-bottom: none;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 5px;
    font: 20px/25px Arial, Microsoft YaHei,"\5b8b\4f53", Tahoma, Helvetica, sans-serif;
}

.designs {
    margin-top: 50px;
}

.collections {
    margin-bottom: 50px;
}

.designs-temp img {
    width: 100%;
    height: auto;
}

.qc-temp h2, .designs-temp h2 {
    margin-bottom: 50px;
}

.collections .col-md-4.last+.col-md-4 {
    clear: left;
}

.qc-main table {
    width: 100%;
}

.qc-main table table tbody tr:last-child td {
    padding-bottom: 20px;
}

.qc-main table table tbody tr:first-child td {
    padding-top: 20px;
}

.qc-main>table>tbody>tr {
    border-bottom: 1px solid #ccc;
}

.qc-main>table>tbody>tr:last-child {
    border: 0 none;
}

.qc-main {
    margin-bottom: 100px;
    background-color: rgba(0,0,0,0.03);
    border: 1px solid #ccc;
}

.qc-main table table tbody tr:nth-child(even) {
}

.main-menu ul li ul li a {
    margin: 0;
    min-width: inherit;
    font-size: 14px;
    border: 0 none;
}

.main-menu ul li ul {
    min-width: 350px;
    background-color: rgba(0,0,0,0.05);
    padding: 5px 0 5px 5px;
}

.qc-temp {
    margin-top: 50px;
}

.qc-main table table p {
    background-color: rgba(0,0,0,0.02);
    margin: 0 0 3px 0;
    padding: 5px 0 5px 10px;
}

.qc-temp table h2 {
    padding-left: 20px;
    margin: 0;
}

.single-product-wrap .col-md-2 {
    width: 20%;
}

.single-product-wrap .col-md-10 {
    width: 80%;
}

.rowgap{
  margin-bottom:20px;
}

.rowgap p{
 
 line-height: 26px;
 margin: 0;

}

.pdr-dtls-box h1 {
    margin-top: 0;
    color: #777;
    font-size: 22px;
    text-transform: uppercase;
    }

.pdr-dtls-box {
    font-size: 16px;
    line-height: 30px;
}

.product-featured-image {
    margin-bottom: 40px;
}

.breadcrumb-wrap {
    margin-bottom: 30px;
}

.pdr-dtls-box>ul {
    padding-left: 20px;
    /* list-style: disc; */
}

.pdr-img-boxs .last+div {
    clear: left;
}

.pdr-img-boxs img {
    margin-bottom: 30px;
    width: 100%;
    height: auto;
}

.single-product-wrap-main {
    padding-bottom: 100px;
}

.product-cat-sidebar li.current-menu-item > a {
    border-bottom: none;
    margin-bottom: 10px;
    padding-bottom: 3px;
    margin-right: 40px;
}
.product-sidebar li.current-menu-item > a {
    border-bottom: 0px solid #f7c202;
    margin-bottom: 10px;
    padding-bottom: 3px;
    margin-right: 40px;
	font-weight:bold;
}

.qc-main table table tbody tr td {
    width: 50%;
    max-width: 50%;
    min-width: 50%;
}

.qc-main-body table td {
    /* border: 1px solid #777; */
    padding: 5px 10px 5px 4px;
}

.qc-main-body {
    margin: 0 0 50px 0;
}

/* .qc-main-body table tbody tr:first-child { */
    /* background-color: #ddd; */
/* } */

.qc-main-body table tbody tr:first-child+tr {
    /*border-bottom: 1px solid #888;*/
}

.qc-main-body>table:first-child tbody tr:first-child+tr {
    border: 0 none;
}

.qc-main-body>table:first-child tbody tr:first-child+tr+tr {
    /*border-bottom: 1px solid #888;*/
}
.breadcrumb {
    background: transparent;
    font-size: 16px;
}

.breadcrumb-wrap {
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.breadcrumb i {
    color: #ddd;
    line-height: 0;
    padding: 0 5px;
}

.breadcrumb a {
    color: #888;
}

.breadcrumb-wrap.underneth-header {margin-bottom: 0;}

.main-menu ul li ul {
    background-color: transparent;
    padding-top: 10px;
    min-width: 420px;
}
.inner-cat h2 {
    background: none;
    text-align: center;
    color: #000;
    margin: 0;
    font-size: 17px;
    font-weight: normal;
    padding: 20px 0 10px 0;
}

.inner-cat a {
    text-decoration: none;
}

.single-collection img {
    margin-bottom: 30px;
}

.single-collection h2 {
    color: #f7c202;
    border-bottom: 1px solid #f7c202;
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 26px;
    font-weight: normal;
    letter-spacing: 1px;
}

.single-collection {
    margin-bottom: 50px;
}

.breadcrumb {
    padding-left: 0;
}

.breadcrumb a {
    font-size: 14px;
}

.default-page-tem {
    margin: 50px auto;
}
.qc-main-body table {
   min-width: 100%; 
	/* border: 1px solid #ddd; */
}

.cat-banner-f img {
    display: block;
    margin: 0 auto;
    margin-bottom: 40px;
    width: 100%;
}

.main-menu ul li ul {
    padding-left: 0;
}

.main-menu ul li ul li a {
    padding-left: 0;
}

.breadcrumb>img {
    width: 7px;
    height: 10px;
    vertical-align: middle;
    filter: invert(80%);
}

.breadcrumb .current {
    color: #888;
}

.single-collection h2 {
    margin-top: 0;
	border:0 none;
	color:#666;
}

h3#nonebrand {
   padding-top: 0px;
    margin-bottom: 0px;
}

.project-portfolio h3 {
    padding-top: 80px;
    margin-top: 0;
    text-align:center;
}
ul.single_brand {
    margin-bottom: 0;
}

ul.single_project li h3 img{
    max-height: 80px;
}

ul.single_project li h3#ihg img {
    max-width: 138px;
}

ul.single_project li h3#hyatt img {
    max-width: 180px;
}


.slidersection a.carousel-control-next , a.carousel-control-prev {
    /* height: 50px; */
    /* width: 20px; */
    /* background-color: red; */
    position: absolute;
    top: 45%;
    left: 5%;
}
.slidersection a.carousel-control-prev {
    left: inherit;
    right: 5%;
}


.slidersection a.carousel-control-next img, a.carousel-control-prev img {
    height: 50px;
    width: 25px;
}

.slidersection a.carousel-control-next img {
    transform: rotate(180deg);
}

.project-portfolio {
    margin-bottom: 100px;
}

.single-pdr-cat-banner img{display:block;margin:0 auto;}
.single-pdr-cat-banner {
    text-align: center;
}

.singleproject a img+img {
    max-height: 150px;
    width: auto;
    max-width: 30%;
}

.qc-main-body table td {
    padding-bottom: 5px;
    padding-top: 10px;
}

table tbody tr:first-child {
    font-size: 17px;
}

.qc-main-body table td.style15 {
    /* background-color: #ddd; */
    /* text-align: right; */
    width: 29%;
    padding-right: 0px;
}

.qc-main-body table#sheet0 td.style10, .qc-main-body table#sheet2 td.style10, .qc-main-body table#sheet3 td.style10, .qc-main-body table#sheet4 td.style10 {
    /* background-color: #ddd; */
    /* text-align: right; */
    width: 35%;
}


.qc-main-body table td.style9 {
    /* background-color: #ddd; */
    /* text-align: right; */
    width: 4%;
    padding-right: 0px;
}


table tbody tr:first-child td:last-child, table tbody tr:first-child+tr td:last-child {
    background-color: transparent;
    text-align: left;
}



    

.project-portfolio h3:after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #ddd;
    position: absolute;
    left: 0;
    bottom: 15%;
    z-index: -1;
}

.project-portfolio h3 {
    position: relative;
}

.project-portfolio h3 img {
    background-color: #fff;
    padding: 0 20px;
}

h3#nonebrand {
    display: none;
}

.qc-main-body table td, 
.qc-main-body table tr:first-child+tr+tr+tr td, .qc-main-body table tr:first-child+tr+tr td {
    vertical-align: top;
    /* background: red; */
    /* padding-top: 0; */
}



.clmn-two{min-width:49.6%; max-width:49.6%; background-color:; display:inline-block; padding:0; }
.clmn-one{background-color:;margin:0 0 0 0; width:;padding:40px 0 40px 0;}
.step-a{padding:10px; font-size:17px; line-height:1.4; font-family:arial;
  background:#fff;border:2px solid #000; border-radius:10px;
  color:#000;
  text-align:center;
  margin:0 auto 15px auto;
  max-width:60%; z-index: 1;}
.step-a:last-child{margin-bottom:0;} 
.mr-btm .step-a{}
.clmn-two.mr-btm{vertical-align:top;} 

.connector{background:;width:49.9%; height:30px; 
  border:2px solid #000;
  border-top:0 none; margin:0 auto;
}
.connector.connector-bottom{border-top:2px solid #000;border-bottom:0 none;}

.clmn-one, .clmn-two{position: relative;}
.clmn-one:before, .clmn-two:before{content:"";position: absolute; top:0;bottom:0;
    width: 2px; height:90%; background-color:#000; left:50%; right:50%;z-index: -1;
}
.clmn-one:before{height:100%;}

/* ==========================================================================
   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;
    }
}
