/*********  GENERAL *********/


.maroon-bg {
    background-color: #8a2529;
}


.maroon-color {
    color: #8a2529;
}


.maroon-dark {
    background-color: #750101;
}


.demaria-font, h1, h2, h3, h4, h5, h6, p, li {
    font-family: 'Roboto', sans-serif;
}

.address {
    font-size: 1.2em;
    color: #777;
}

.no-margin-bottom {
	margin-bottom: 0 !important;
}

::-webkit-input-placeholder {
font-style: italic;
}

:-moz-placeholder { /* older Firefox*/
font-style: italic;
}

::-moz-placeholder { /* Firefox 19+ */ 
font-style: italic;
} 

:-ms-input-placeholder { 
font-style: italic;
}

.row-margin {
	margin-bottom: 40px;
}

.no-wrap {
	white-space: nowrap;
}

hr {
	margin: 40px 0;
}

.list-background {
	margin-top: 20px;
}

#slogan {
    color: #777;
    font-family: 'Lato', sans-serif;
}

/*********  NAVIGATION MENU *********/

nav {
	margin-bottom: 20px;
}

nav a {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.navbar-inverse .navbar-nav>li.active a,
.navbar-inverse .navbar-nav>li.active a:focus, 
.navbar-inverse .navbar-nav>li.active a:hover {
    background-color: #750101;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:focus,
.navbar-inverse .navbar-nav>.open>a:hover {
    background-color: #750101;
}

.navbar-inverse .navbar-nav>li.active>a {
    background-color: #750101;
}



.navbar-inverse .navbar-nav>li>ul>li>a {
    color: #cccccc;
}

.navbar-inverse .navbar-nav>li>ul>li>a:hover {
    color: #ffffff;
}

.navbar-inverse .navbar-nav>li>a {
    color: #cccccc;
	
}

.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,
.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus, 
.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover {
    color: #fff;
    background-color: #750101;
	padding: 10px;
}

.navbar-inverse .navbar-brand {
    color: #cccccc;
}

.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
    background-color: #750101;
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:focus, 
.dropdown-menu>.active>a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #750101;
    outline: 0;
}

ul.dropdown-menu {
    color: #ffffff;
    background-color: #8a2529;
}

ul.dropdown-menu li a {
    color: #ffffff;
    padding: 10px;
    
}

.dropdown-menu li a:hover {
    color: #ffffff;
    background-color: #750101; 
}

@media (max-width: 767px) {
	.navbar-nav .open .dropdown-menu .dropdown-header, .navbar-nav .open .dropdown-menu>li>a {
		padding: 10px 15px 10px 25px;
	}
}

/********* Carousel Fading slide *************/

.carousel-fade .carousel-inner { background: #000; }
.carousel-fade .carousel-control { z-index: 2; }  
.carousel-fade .item {
  opacity: 0;
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
  }

  .carousel-fade .next.left,
  .carousel-fade .prev.right,
  .carousel-fade .item.active { opacity: 1; }

  .carousel-fade .active.left,
  .carousel-fade .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
    }


/* Safari Fix */
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}

/* Carousel Control custom */
.carousel-control .control-icon {
  font-size: 48px;
  height: 30px;
  margin-top: -15px;
  width: 30px;
  display: inline-block;
  position: absolute;
  top: 50%;
  z-index: 5;
  }
  .carousel-control .prev { margin-left:  -15px;  left: 50%; } /* Prev */
  .carousel-control .next { margin-right: -15px; right: 50%; } /* Next */


/* Removing BS background */
.carousel .control-box { opacity: 0; }
a.carousel-control.left  { left: 0; background: none; border: 0;}
a.carousel-control.right { right: 0; background: none; border: 0;}


/* Animation */
.control-box, a.carousel-control, .carousel-indicators li {
  -webkit-transition: all 250ms ease;
  -moz-transition: all 250ms ease;
  -ms-transition: all 250ms ease;
  -o-transition: all 250ms ease;
  transition: all 250ms ease;   
  /* hardware acceleration causes Bootstrap carousel controlbox margin error in webkit */
  /* Assigning animation to indicator li will make slides flicker */
  } 


/* Hover animation */
.carousel:hover .control-box { opacity: 1; }
.carousel:hover a.carousel-control.left { left: 15px; }
.carousel:hover a.carousel-control.right { right: 15px; }  


/* Carouse Indicator */
.carousel-indicators li.active,
.carousel-indicators li { border: 0; }

.carousel-indicators li {
  background: #666;
  margin: 0 3px;
  width: 12px;
  height: 12px;
  }

.carousel-indicators li.active {
  background: #fff;
  margin: 0 3px;
  }
  


/*********  TESTIMONIALS *********/

.testimonial-outer {
	display: block;
	position: relative;
    display: grid;
	padding: 20px;
    grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 1em;
	grid-row-gap: 1em;
}

.testimonial-outer::after {
	content: "";
	background: url("../img/happy-clients-bg-large.jpg");
	background-repeat: no-repeat;
	height: 100%;
	opacity: 0.3;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: absolute;
	z-index: -1;
}

.testimonial-background {
	border-radius: 10px;
    background: #f0efef; /* For browsers that do not support gradients */    
    background: -webkit-linear-gradient(bottom right, #f0efef, #f4e1d2); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom right, #f0efef, #f4e1d2); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom right, #f0efef, #f4e1d2); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom right, #f0efef, #f4e1d2); /* Standard syntax (must be last) */
	border: solid 1px #CCC;
    -moz-box-shadow: 0 8px 20px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-box-shadow: 0 8px 20px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.19);
    box-shadow: 0 8px 20px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.19);
	padding: 20px;
}

.testimonial {
	color: #8a2529;
	font-style: italic;
}

.testimonial-name {
	color: #8a2529;
	font-weight: bold;
	font-style: italic;
}

.testimonial-date {
	color: #8a2529;
	font-size: 0.8em;
}


/*********  THUMBNAILS *********/

.thumbnail {
    color: #8a2529;
}

.thumbnail h3 {
    text-align: center;
    color: #8a2529;
    text-decoration: none;
}

.thumbnail-center {
  text-align: center;
}

.thumbnail:hover {
    border: solid 1px #CCC;
    -moz-box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

 .thumbnail:hover > a {
    text-decoration: none;
}

.text-center {
    width: 150px;
    margin: auto;
}

.thumbnail .caption {
    padding: 9px;
    color: #8a2529;
}
.caption {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
    text-align: left;
}

.thumbnail-title {
	height: 60px;
}

.thumbnail-hidden {
	display: none;
}


/*********  IMAGES *********/

#demaria-logo 
    {
        float: left;
        margin-right: 10px;
        width: auto;
        max-height:4em;
    }

#demaria-logo-reverse 
    {
        float: left;
        margin: 4px;
        width: auto;
        max-height:3em;
    }

img.hero {
	width: 2000px;
	margin: auto;
}
	
img.headshot {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}


.list-style-demaria li {
    list-style-image: url("../img/demaria-list-square.png");
    color: #8a2529;
    padding: 5px;

}

.list-style-staff li {
	list-style-image: url("../img/demaria-list-square.png");
    padding: 5px;
}

.list-background {
    border-radius: 6px;
    background: #f0efef; /* For browsers that do not support gradients */    
    background: -webkit-linear-gradient(bottom right, #f0efef, #f4e1d2); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom right, #f0efef, #f4e1d2); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom right, #f0efef, #f4e1d2); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom right, #f0efef, #f4e1d2); /* Standard syntax (must be last) */
    padding: 10px;
}

/*********  FORM *********/

.errors  {
	color: #FF0000;
}

.successful {
	color: #4cae4c;
}

table.email tr td {
	padding: 5px;
	vertical-align: top;
}

table.email tr td:first-child {
	width: 70px;
}

.cc-check {
    color: #777;
	font-family: 'Roboto', sans-serif;
}

input.has-error,
textarea.has-error {
    border-color: #ff0000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

/*********  FOOTER *********/

footer {
	padding-top: 20px;
}

i.fa {
    color: #cccccc;
    background-color: #750101;
    width: 25px;
    height: 25px;
    text-align:center;
    padding:5px;
    margin: 3px;
}

i.fa:hover {
    color: #ffffff;
}

.footer-text {
    color: #cccccc;
    font-size: 0.8em;
}

.footer-text:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-container {
	max-width: 1280px;
	margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}

.footer-item {
    display: grid; 
}

.social-icon {
    grid-template-columns: 1fr 1fr;
	margin-top: 20px;
}

.social-icon a {
	padding: 5px;
}

/*********** EXTRA SMALL WIDTH RESPONSIVE *************/

@media only screen and (min-width: 200px) and (max-width: 399px) {
    .navbar-brand {display: none;}
    #main-h1 {font-size: 2em;}
    #slogan {font-size: 1.1em;}
    .demaria-font {font-size: 1.0em;}
    #demaria-logo { display: none;}
    img.headshot { width: 100%;}
    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,
    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover {
        background-color: #750101;
    }
	
	.testimonial-outer {
		display: block;
		position: relative;
		display: grid;
		grid-template-columns: 1fr;
		grid-column-gap: 1em;
		grid-row-gap: 1em;
	}

    .footer-container {
        height: auto;
        display: grid;
        padding: 1em;
        grid-template-columns: 1fr;
		gride-template-rows: 1fr 60px 10px 10px;
        align-items:center;
        justify-items: center;
    }

    .footer-item {
        display: grid;
    }
	
	.liv {
        grid-row: 1;
		margin-bottom: 10px;
    }

	.pexa {
        grid-row: 2;
		padding: 10px;
    }    
    
    .social-icon {
        grid-row: 3;
		margin-top: 0px;
    }

    .hello {
        grid-row: 4;
    }
}


/*********** SMALL WIDTH RESPONSIVE *************/

@media only screen and (min-width: 400px) and (max-width: 699px) {
    .navbar-brand {font-size: 1.3em;}
    #main-h1 {font-size: 2em;}
    #slogan {font-size: 1.2em;}            
    .demaria-font {font-size: 1.2em;}
    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,
    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover {
        background-color: #750101;
    }
	
    .footer-container {
        height: auto;
        display: grid;
        padding: 1em;
        grid-template-columns: 1fr 1fr ;
        grid-template-rows: 1fr 100px 10px;
        align-items: center;
        justify-items: center;
    }
	
	.testimonial-outer {
		display: block;
		position: relative;
		display: grid;
		grid-template-columns: 1fr;
		grid-column-gap: 1em;
		grid-row-gap: 1em;
	}

    .footer-item {
        display: grid;
        align-items:center;        
    }
    
    .pexa {
		grid-row: 1;
        grid-column: 2;

    }
	
	.liv {
		grid-row: 1;
        grid-column: 1;

    }

    .social-icon {
        grid-column: 1/3;
		grid-row: 2;
    }

    .hello {
        grid-column: 1/3;
        grid-row: 3;
    }
}

/*********** MID WIDTH RESPONSIVE *************/

@media only screen and (min-width: 768px) and (max-width: 992px) {
	.navbar-brand {display: none;}
	.navbar-brand {font-size: 1.5em;}
	.hello {
        grid-column: 2;
        grid-row: 2;
    }
}


@media only screen and (min-width: 700px) and (max-width: 999px) {
    #main-h1 {font-size: 2em;}
    #slogan {font-size: 1.3em;}
    .demaria-font {font-size: 1.3em;}
    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,
    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover {
    background-color: #750101;
    }
	
	.testimonial-outer {
		display: block;
		position: relative;
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 1em;
		grid-row-gap: 1em;
	}

	 .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: 1fr 50px;
        align-items:center;
        justify-items: center;
    }

    .footer-item {
        display: grid;
        align-items: center;
        justify-items: center;
    }
	
	.pexa {
		grid-row: 1;
		grid-column: 2;
	}
    
    .liv {
        grid-row: 1;
		grid-column: 1;
		margin-top: 20px;

    }

    .social-icon {
        grid-column: 3;
		grid-row: 1;
    }

    .hello {
        grid-column: 2;
        grid-row: 2;
    }
}


/*********** NORMAL WIDTH RESPONSIVE *************/

@media only screen and (min-width: 1000px) and (max-width: 1199px) {
    .navbar-brand {font-size: 1.7em;}
    #main-h1 {font-size: 3em;}
    #slogan {font-size: 1.5em;}
    .demaria-font {font-size: 1.4em;}
    .new-line { display: none;}

	 .footer-container {
		height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: 1fr 50px;
        align-items:center;
        justify-items: center;
    }

    .footer-item {
        display: grid;
        align-items:center;
        justify-items: center;
    }
	
	.pexa {
		grid-row: 1;
		grid-column: 2;
	}
    
    .liv {
        grid-row: 1;
		grid-column: 1;
		margin-top: 20px;
    }

    .social-icon {
        grid-column: 3;
		grid-row: 1;
    }

    .hello {
        grid-column: 2;
        grid-row: 2;
    }
}


/*********** FULL WIDTH RESPONSIVE *************/

@media only screen and (min-width: 1200px) {
    .navbar-brand {font-size: 2.0em;}
    #main-h1 {font-size: 4em;}
    #slogan {font-size: 1.8em;}
    .demaria-font {font-size: 1.5em;}
    .new-line { display: none;}

	.footer-container {
		height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: 1fr 50px;
        align-items:center;
        justify-items: center;
    }

    .footer-item {
        display: grid;
        align-items:center;
        justify-items: center;
    }
	
	.pexa {
		grid-row: 1;
		grid-column: 2;
	}
    
    .liv {
        grid-row: 1;
		grid-column: 1;
		margin-top: 20px;
    }

    .social-icon {
        grid-column: 3;
		grid-row: 1;
    }

    .hello {
        grid-column: 2;
        grid-row: 2;
    }
}