/* CSS global content  */

body {
	margin: 0;
	width: 100%;
	font-family: 'Rubik', sans-serif;
}

.contentPanel {
	max-width: 1024px;
    margin: 0 auto;
}

.content {
	margin: 0 auto;
	max-width: 1024px;
	padding: 4em 0;
}

.container {
	padding: 1em;
}

a {
	text-decoration: none;
}

a:hover {
	cursor: pointer;
}

.underline {	
	border-bottom: solid 4px #e60000;
}

.centre {
	text-align: center;
}

.inline {
	display: inline-block; 		
}

button {
  	color: #FFFFFF;
    background-color: #e60000;
    border: none;
    border-radius: 12px;
    padding: 0.5em 1em;
    font-size: 1.5em;
    margin-top: 2vw;
    font-weight: 600;
}

button:hover {
	cursor: pointer;
	background-color: #5A5959;
}

button:focus {
	outline: none;
}

h2.header {
	margin: 0 0 0.2em 0;
    font-size: 2em;
}


/* 
* Styling for the header content
*/

#header {
	width: 100%;
	color: #e60000;
	background-color: #FFFFFF;
}

#headercentre {
	/*	padding-bottom: 1em;*/
}

#headerLogo {
  width: 400px;
  height: 200px;		
}

#headercentre a {
	text-decoration: none;
	color: #e60000;
}

#header .headerFont {
	vertical-align: text-bottom;
	font-family: 'Sansita', sans-serif;
}

#headernametop {
	font-size: 6em;
    font-weight: 600;	
}

#headernamebottom {
	font-size: 1.5em;
	font-weight: 800;	
	padding-left: 0.2em;	
}

#companydetails {
    background-color: #e60000;
    color: #FFFFFF;
    height: 2em;
}

/* 
* Styling for the website in construction page
*/

#construction {
	height: 30em;    
    min-height: 12em;
}

#construction img {
    width: 100%;
    height: 100%;
}

/* 
* Styling for the main page content
*/

#maincontent {	
	margin: 0 auto;	
}

#maincontent .companydetails {
    background-color: rgba(255,255,255,0.47);
	width: 40%;
	padding: 1em 2em 1em 1em;
}

#maincontent h2.companydetailheader {
	font-size: 2.8em;
	margin: 0 0 0.2em 0;
}

#maincontent .companydetails h3 {	
	font-size: 1.5em;    
    margin: 0;
	color: #e60000;
}

#companyhome {
	background-image:url("../images/carpetimg5.jpeg");
	background-attachment:fixed;	
	background-size: cover;
}

#companyservice {
	background-image:url("../images/carpet55.png");
	background-attachment:fixed;
	background-size: cover;
}

#companysamples {
	background-image:url("../images/carpet44.jpg");
	background-attachment:fixed;	
	background-size: cover;
}

#maincontent .companydetailstext .statmenttext {
	font-size: 1.2em;
}

#maincontent .companydetailstext {
	border-left: solid 8px #e60000;
    padding-left: 1em;
}

#companyinfo {
	padding: 4em;
	display: grid;
  	grid-template-columns: auto auto;
/*	width: 100%;*/
	max-width: 1024px;
}

#companyinfo [class*=" flaticon-"]:before {	
	font-size: 3em;
	color: #e60000;
	margin: 5px;
}

#companyinfo .icon {
	vertical-align: top;
	text-align: center;
    font-size: 1.5em;
	width: 100%;
}

#companyinfo h3 {
	text-align: center;
	font-size: 1.5em;
	font-weight: 500;
}

#companyinfo .infotext {
	max-width: 30em;
	min-width: 12em;
	color: #666;
    line-height: 1.6em;
}

#maincontent #companyinfo .info {
	min-width: 25vw;
	padding: 0 1em 2em 1em;
}

#innerteam .person {
	display: inline-block;
}

#innerteam .person img {
	height: 12em;
}

#innerteam .personinfo {
	display: inline-block;
	vertical-align: top;
	width: 15em;
}

#innerteam {
	display: grid;
	grid-template-columns: auto auto;
}

#innerteam .team {
	padding: 2em 0;
}

#ourprocess {
	background-color: #cecece;
}

#processimage {
	width: 100%;
	margin: 1em 0;
}

#maincontent .centrebtn {
	text-align: center;
}

#customerfeedback {	    
	padding-bottom: 2em;	
    font-weight: 500;
}

#customerfeedback .user {
	text-align: right;
  	color: #666;
    line-height: 1.6em;
}

#customerfeedback .userphotosinner {
	display: grid;
	grid-template-columns: auto auto auto auto;
}

#customerfeedback .userphotos {
	font-size: 0.8em;
	float: right;
    padding-top: 1em;
}

#customerfeedback .userphoto {	
    padding: 0.5em;
}

#customerfeedback .feedbackimage {
	height: 10em;
	width: 10em;
	border-radius: 90px;
	margin-left: auto;
    margin-right: auto;
}

#customerfeedback .feedback {
	text-align: center;
}

#customerfeedback .feedbackimage:hover {
	cursor: pointer;
}

#customerfeedback .hiddenimages {
	display: none;
}

#customerfeedback .usercomment {
    padding: 1em 0 2em 0;
    max-width: 28em;
    vertical-align: top;
	font-size: 0.9em !important;
    font-weight: 100 !important;
	margin-left: auto;
    margin-right: auto;
}

#customerfeedback .commenttext {
  	color: #666;
    line-height: 1.6em;
}

#customerfeedback .bold {
	font-weight: 600;
	font-size: 1.5em;
}

#customerfeedback .feedback {
	padding-left: 1em;
}

#gallery {
	background-color: #cecece;
}

#gallery h2 {
    margin: 0 0 0.2em 0;
    font-size: 2em !important;
    padding-left: 0.5em;
}

#gallery .galleryphoto {
	width: 100%;
	height: 15em;
/*    padding: 0.5em;*/
}

#gallery.gallerypage {
	background-color: #FFF;
}

#gallery.gallerypage .content {
	padding: 4em 0 0 0;
}

#gallery .galleryphoto {
	width: auto !important;
    height: 15em;
    margin: 1em 0.7em 0 0;    
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
}

#gallery .gallerylist { 
/*	margin-left: 0.7em;*/
}

#gallery .galleryphoto .feedbackimage {
    height: 100%;
    width: 100%;
	opacity: .8;
}

#gallery .galleryphoto .feedbackimage:hover {
	opacity: 1;
	cursor: pointer;
}

#gallery .galleryphoto.galleryhidden {
	display: none;
}

#gallery .gallerylist {
    display: grid;
    grid-template-columns: auto auto auto auto;
}

#galleryshowmore {
	text-align: center;
    padding-top: 0.5em;
}

/*
	Contact us panel
*/
#contactus {
	grid-template-columns: auto auto;
}

#contactus .contactpadding {
	margin-bottom: 0.6em;
    background-color: #e60000;
    border-radius: 12px;
    padding: 0.5em;
	color: #FFF;
	display: table;
/*	width: fit-content;*/
}

#contactus .contactpadding:hover {
	background-color: #5A5959;
	cursor: pointer;
}

#contactus .contactouter a {	
	color: #FFF;
}

#contactus .contactouter h4 {
	margin: 0.4em 0;
}

#contactus .contact {
	vertical-align: top;	
	padding-right: 1em;
}

#contactus {	
	font-weight: 500;
	padding: 4em 0 0 0;
	color: #666;
	display: grid;
}

#contactus .comment {
	color: #666;
	padding-bottom: 0.5em;
	font-size: 1em;
    font-weight: 500;
}

#contactus .bold {
	font-weight: 900;
}

#contactusform {
	padding: 1em;
}

#contactus .contact {
	padding: 1em;
	width: 25em;
}

#contactheader {
	color: #e60000;
}

#contactusform input, #contactusform textarea {
	width: 100%;
	padding: 1em; /* Some padding */  
  	border: 1px solid #ccc; /* Gray border */
  	border-radius: 4px; /* Rounded borders */
  	box-sizing: border-box; /* Make sure that padding and width stays in place */
  	margin-top: 6px; /* Add a top margin */
  	margin-bottom: 16px; /* Bottom margin */
  	resize: vertical;
    font-family: 'Rubik', sans-serif;
}

#contactusform input[type=submit] {
	color: #FFFFFF;
    background-color: #e60000;
    border: none;
    border-radius: 12px;
    padding: 0.5em 1em;
    font-size: 1em !important;
    font-weight: 600;
	width: auto;
}

#contactusform input[type=submit]:hover {
	cursor: pointer;
	background-color: #5A5959;
}

#contactusform #subject {
	height: 100px !important;
	resize: none;
}

#contactusform .contacterror {
	color: #e60000;
	display: none;
}

#contactusconfirm {
	display: none;
}

#contactusconfirm .responseHeader {
	font-weight: 800;
    font-size: 1.5em;
}

#showmorebtn:hover {
	background-color: #5A5959 !important;
}

/*
	Contact us panel
*/
#footer {	
	background-color: #5A5959;
	color: #FFFFFF;
}

#footer a, #footer a:visited {
	color: #FFFFFF !important;
}

#footercentre {
	max-width: 1024px;
	text-align: center;
	margin: 0 auto;
	grid-template-columns: auto auto auto;
	display: grid;
	padding-bottom: 1em;
}

#footer .footeritem {
	vertical-align: top;
}

#contactusform .contactusmobile {
	color: #e60000;
    font-size: 1.2em;
    padding: 0em 0.5em 0.5em .7em;
    font-weight: 600;
	display: none;
}

#footertag .imgcircle {
	display: table-cell;
	width: 17em;
    height: 12em;
    margin-right: auto;
}

#footer .socialmedia img {
	padding-right: 0.6em;
    width: 40px;
    height: 40px;
}

#footer .contactus [class*=" flaticon-"]:before {
	padding-right: 0.3em;
	font-size: 0.8em;
}

#footer .logotext {
    vertical-align: middle;
	display: inline-block;	
	font-family: 'Sansita', sans-serif;
}

#footernametop {	    
    font-size: 3em;
	vertical-align: middle;
}

#footernamebottom {
	vertical-align: middle;
	text-align: left;
    padding-left: 0.2em;
}

#logofooter {
	vertical-align: top;
    display: inline-block;
	border-radius: 50%;
    border-style: solid;
    border-width: 0.2em;
    margin-right: 0.6em;
    padding: 0.6em;
}

#logofooter[class*=" flaticon-"]:before {
	font-size: 2.5em;
	font-weight: 200;
	position: relative;
    left: -7px;
}

#footer .logo {	
	padding-left: 2em;
}

#footer .logoinner {
	padding-top: 2em;
}

#footer .sidebar {
	border-right: 2px solid rgba(255, 255, 255, .3);
	padding: 0 1.5vw;	
}

#footercentre .media {
	text-align: left;
	padding-bottom: 0.4em;
	display: inline;
}

#footercentre .media [class*=" flaticon-"]:before {	
	font-size: 2em;
	margin: 0.5em;
}

#footercentre .footeritem {
	font-weight: 100;
    font-size: 1em;
	padding-bottom: 0.2em;
	margin-top: 0.4em;
}

#footercentre .contactus a {
	color: #FFFFFF;
}

#footercentre .footercontact {
	
}

@media only screen and (max-width: 1024px) {	  	
    .cc-window.cc-floating {
        max-width: none !important;
        width: 100%;  
    }

    .cc-bottom {
        bottom: 0em !important;
    }
		
  
	#headercentre {
		padding-top: 1em;
		padding-left: 1em;
	}
	
	#companydetailscentre {
		padding-left: 0.5em;
	}
	
	#maincontent #customerfeedback .feedback {
		display: table;
		margin: 0 auto;
	}

	#maincontent #customerfeedback .userphotos {
 		display: table-header-group;
		float: left;
	}
	
	#companyservice {
		background-image:url("../images/carpet55Mobile.png");
		background-attachment: unset;
	}
	
	#maincontent #companyhome {
		background-image:url("../images/carpetimg5Mobile.jpg");		
	}
	
	#companysamples {
		background-image:url("../images/carpet4Mobile.jpg");
		background-attachment: unset;
	}
		
}


@media only screen and (max-width: 820px) {
  	#maincontent button {
    	font-size: 1em;
  	}
  
	#headernametop {
		font-size: 4em;
        font-family: 'Sansita', sans-serif;
	}
  
  	#headerLogo {
		width: 200px;
		height: 100px;		
	}
	
	#headernamebottom {
		font-size: 1em;
        font-family: 'Sansita', sans-serif;
	}
	
	#header .flaticon-carpet:before {	
		font-size: 3em;
    	left: -5px;
	}
	
	#header #logo {
		padding: 0.2em;
    	margin-right: 0.5em;
		border-width: 0.1em;
	}
	
	#header #companydetails {
		font-size: 0.7em;
	}
	
	#header #companydetails [class*=" flaticon-"]:before {
		font-size: 0.9em;
	}	
	
	#maincontent .content {
		padding: 4em 2em;
	}	
	
	#companyinfo {				
		text-align: center;
	}
	
	#companyinfo [class*=" flaticon-"]:before {
		margin-left: 0;
	}
	
	#maincontent #companyinfo {
		padding: 2em 0;
	}
	
	#contactus {
		grid-template-columns: auto !important;
		padding: 0 !important;		
	}
	
	#contactus .contact {
		width: 100%;
		padding: 0em;
	}
	
	#contactusinner {
		padding: 1em;
	}
	
	#maincontent #contactus .comment {
		padding: 0 0 1em 1em;
		text-align: left;
	}
	
	#gallery .galleryphoto {
		height: 12em;
	}
		
	#contactusimage {
		display: none;
	}
	
	#contactusform {
		width: 100%;
		padding: 0;
	}
	
	#maincontent #contactus h2 {
		padding: 1em 1em 0 0.5em;
	}
	
	#contactusform form {
		padding: 0 1em;
	}
	
	#contactusform .contactusmobile {
		display: block;
	}
	
  	#contactusconfirm {
  		padding: 0 1em;
  	}		
	
	#footercentre {	
/*		padding-bottom: 2em;*/
	}
	
	#footercentre .media [class*=" flaticon-"]:before {		
		margin: 0.1em;
	}
	
	#footercentre h2 {
		font-size: 1.2em;
		margin-bottom: 0.4em;
	}		
	
	#footer .footercontact, #footer a {
		font-size: 0.9em;
	}
	
	#footer .logoinner {
		padding-top: 1.2em;
	}
  
  	#construction {
      	height: 20em !important;
  	}
	
	#companyservice {
		background-image:url("../images/carpet55Medium.png");
		background-attachment: unset;
	}
	
	#maincontent #companyhome {
		background-image:url("../images/carpetimg5Medium.jpg");		
	}
	
	#companysamples {
		background-image:url("../images/carpet4Medium.jpg");
		background-attachment: unset;
	}
}

@media only screen and (max-width: 650px) 
{	
  	#maincontent button {
    	font-size: 1em;
		margin-top: 2em;
  	}
	
	#companyhome h2 {
    	font-size: 2em;
	}
	
	#maincontent .content {
		padding: 4em 2em;
	}	
  
	#companyinfo {
		grid-template-columns: auto !important;
	}
	
	#maincontent #innerteam {	
		grid-template-columns: auto;
	}
	
	#companyinfo .infotext {
		width: auto;		
		padding-right: 1em;
	}
	
	#gallery .gallerylist {
		grid-template-columns: auto auto;
	}
	
	#gallery .galleryphoto {
		height: 10em;	
	}
	
	#footercentre {
		grid-template-columns: auto auto;
	}
  
  	#footercentre .logo {
  		display: none;
  	}
  
  	#maincontent .cmpystatement h2, #quote h2 {  
  		font-size: 1.5em !important;
  	}
  	
  	#maincontent .companystatement .statmenttext, #quote .statmenttext {
  		font-size: 1em !important;
      	padding-bottom: 0.5em;
  	}
	
	#maincontent #customerfeedback .userphotosinner {
		grid-template-columns: auto auto;
	}
	
	#maincontent #customerfeedback .hidepictures {
		display: none;
	}
		
	#companyservice {
		background-image:url("../images/carpet55Mobile.png");
	}
	
	#maincontent #companyhome {
		background-image:url("../images/carpetimg5Mobile.jpg");		
	}
	
	#companysamples {
		background-image:url("../images/carpet4Mobile.jpg");		
	}
	
	#customerfeedback .user, #customerfeedback .feedbackcomment {
		padding-right: 0.5em;
	}
	
	#companyinfo [class*=" flaticon-"]:before {
		font-size: 2em;		
	}
	
	#maincontent .content {
		padding: 1em 1em;
	}
	
	#maincontent #galleryinner {
		padding: 2em;
	}
	
	#innerteam .person img {
		max-height: 10em;
		max-width: 8em;
	}
	
	#innerteam .personinfo {
		width: 10em;	
	}
	
	#maincontent h2.header, #footertag h2.header  {
		font-size: 1.5em;	
	}
	
	#maincontent h2.companydetailheader {
		font-size: 1.4em;
		margin: 0 0 0.2em 0;
	}
	
	#maincontent .companydetailstext .statmenttext {
		font-size: 0.8em;
	}
	
	#maincontent .companydetails {
		width: 60%;
	}
		
}

@media only screen and (max-width: 400px) 
{	
	#header #companydetails {
		font-size: 0.6em;
	}	
	
	#gallery .galleryphoto .feedbackimage {
		opacity: : 1;	
	}	
		
}

@media only screen and (max-width: 330px) 
{	
	
	#header #companydetails [class*=" flaticon-"]:before {
		margin-left: 5px;
	}
		
}
