           
html { font-size: calc(4vmin); }       


h1 {color:white; font-family: Avenir Light, Avenir, Verdana, Calibri; font-size: calc(6vmin); text-align: center;}

h2 {color:white; font-family: Avenir Light, Avenir, Verdana, Calibri; font-size: calc(4vmin); text-align: center;}

h3 {color:white; font-family: Avenir Light, Avenir, Verdana, Calibri; font-size: calc(3vmin); text-align: center;}

h4 {color:white; font-family: Avenir Light, Avenir, Verdana, Calibri; font-size: calc(2vmin); text-align: center;}

h5 {color:white; font-family: Avenir Light, Avenir, Verdana, Calibri; font-size: calc(1vmin); text-align: center;}

h6 {color:white; font-family: Avenir Light, Avenir, Verdana, Calibri; font-size: calc(0.05em); text-align: center;}


button { font-size: inherit; }
input { font-size: inherit; }

.button {
  background-color: #7285A5;
  border: none;
  width:auto;
  
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 5vmin;
}

button:disabled,
button[disabled]{
background-color: grey;
  border: none;
  width:20vmin;
  
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 5vmin;
}
}



input[type=number] {
width:50%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
    border-style: solid;
    border-color: #7285A5;
    text-align: center;
    color:#7285A5;
}

input[type=text] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
    border-style: solid;
    border-color: #7285A5;
    text-align: center;
    color:#7285A5;
}

input[type=email] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
    border-style: solid;
    border-color: #7285A5;
    text-align: center;
    color:#7285A5;
}


input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
    border-style: solid;
    border-color: #7285A5;
    text-align: center;
    color:#7285A5;
}


 


/* Customize the label (the container) */
.container1 {
display:block;
  align-items: center;
  position: relative;
  margin:auto;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align:center;
}

/* Hide the browser's default checkbox */
.container1 input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
    display:block;
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  line-height:25px;
  width: 25px;
  background-color: #eee;
  text-align:center;
}

/* On mouse-over, add a grey background color */
.container1:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container1 input:checked ~ .checkmark {
  background-color: #7285A5;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container1 input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container1 .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


#BackgroundImage{
 
    
    width: 100%;
background-color:grey;
padding-left: 5vw;
    padding-right: 5vw;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
    background-blend-mode:soft-light;

    
              -webkit-transition:all 1s;
    -o-transition-property: all;
    -o-transition-duration:1s;
    -moz-transition-property:all;
    -moz-transition-duration:1s;
    transition-property: all;
    transition-duration: 1s;
    animation: fadeIn ease 5s;
  -webkit-animation: fadeIn ease 5s;
  -moz-animation: fadeIn ease 5s;
  -o-animation: fadeIn ease 5s;
  -ms-animation: fadeIn ease 5s;

}


#Bottom{
    
    width: auto;
    height: 40px;
    background-color: white;
    padding:50px;
    margin:auto;

   
}




#Logo {


       align-content: center;
    align-self: center;
        font-family: Avenir;
        font-size: 30px;
        -webkit-transition:all 1s;
    -o-transition-property: all;
    -o-transition-duration:1s;
    -moz-transition-property:all;
    -moz-transition-duration:1s;
    transition-property: all;
    transition-duration: 1s;
    width:100px;

    
}

#Logo:hover{
    
    transform:rotate(360deg);
    transform-origin: center;
    transform-style: flat;
  
    
}


a:hover
{      transform: scale(1.02);
}





#thirds
{
    height: 500px;
  width: auto;
  display: flex;
   
}







#NextBack
{
    
       height: 100px;
  width: auto;
  display: flex;
    
}


#SPACE{
    width:100%;
    height:1000px;
}

#Cardboard{
 
   background-image:url('Images/CardboardBackground.png');
background-size:contain;
background-position:center;
background-repeat:repeat;

    font-family:Avenir;
    color:white;
    text-align: center;
    width:100%;
  
          -webkit-transition:all 1s;
    -o-transition-property: all;
    -o-transition-duration:1s;
    -moz-transition-property:all;
    -moz-transition-duration:1s;
    transition-property: all;
    transition-duration: 1s;
    animation: fadeIn ease 5s;
  -webkit-animation: fadeIn ease 5s;
  -moz-animation: fadeIn ease 5s;
  -o-animation: fadeIn ease 5s;
  -ms-animation: fadeIn ease 5s;
  
    
    
}


#Sandstone{
 
   background-image:url('Images/Sandstone.png');
background-repeat:no-repeat;
background-size:cover;
    font-family:Avenir;
    color:white;
    text-align: center;
    width:100%;
  
          -webkit-transition:all 1s;
    -o-transition-property: all;
    -o-transition-duration:1s;
    -moz-transition-property:all;
    -moz-transition-duration:1s;
    transition-property: all;
    transition-duration: 1s;
    animation: fadeIn ease 5s;
  -webkit-animation: fadeIn ease 5s;
  -moz-animation: fadeIn ease 5s;
  -o-animation: fadeIn ease 5s;
  -ms-animation: fadeIn ease 5s;
  
    
    
}



#GREY{
 
background-color:grey;


          -webkit-transition:all 1s;
    -o-transition-property: all;
    -o-transition-duration:1s;
    -moz-transition-property:all;
    -moz-transition-duration:1s;
    transition-property: all;
    transition-duration: 1s;
    animation: fadeIn ease 5s;
  -webkit-animation: fadeIn ease 5s;
  -moz-animation: fadeIn ease 5s;
  -o-animation: fadeIn ease 5s;
  -ms-animation: fadeIn ease 5s;
  
    
    
}


#WHITE{background-color:white;
        padding:5vmin;
        height:70vh;
}

#GREY{
    background-color:grey;
 padding:5vmin;
        height:70vh;
}
#GREYRIGHT{
    background-color:grey;
 padding:5vmin;
        height:70vh;
}

#CONCEPT{
    
    background-image:url('Images/concept.png');
background-size:cover;
background-position:center;  
background-repeat:no-repeat;

height:70vh;
}

#DETAIL{
    
    background-image:url('Images/detail.png');
background-size:cover;
background-position:center;  
background-repeat:no-repeat;

height:70vh;
}

#KITCHEN{
    
    background-image:url('Images/kitchen.png');
background-size:cover;
background-position:center;  
background-repeat:no-repeat;

height:70vh;
}

#INTERIOR{
    
    background-image:url('Images/bedroom.png');
background-size:cover;
background-position:center;  
background-repeat:no-repeat;

height:70vh;
}


#PLANNING{
    
    background-image:url('Images/planning.png');
background-size:cover;
background-position:center;  
background-repeat:no-repeat;

height:70vh;
}


#SITE{
    
    background-image:url('Images/birdseye.png');
background-size:cover;
background-position:center;  
background-repeat:no-repeat;

height:70vh;
}


#Back{
 
   background-image:url('Images/Back.png');
background-size:contain;
background-position:center;
background-repeat:repeat;

  
          -webkit-transition:all 1s;
    -o-transition-property: all;
    -o-transition-duration:1s;
    -moz-transition-property:all;
    -moz-transition-duration:1s;
    transition-property: all;
    transition-duration: 1s;
    animation: fadeIn ease 5s;
  -webkit-animation: fadeIn ease 5s;
  -moz-animation: fadeIn ease 5s;
  -o-animation: fadeIn ease 5s;
  -ms-animation: fadeIn ease 5s;
  
    
    
}


input[type=checkbox] {
    transform: scale(3);

}

@keyframes fadeIn{
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}



#navbar-toggler{
    display: block;
    width: 40% !important;
    height: 40px;
    border-radius: 1px;
}



.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}

.circles{
    
    
    width: 39vw;
    height: 12vw;
    background-color: pink;
    filter:grayscale(0.5);
    display: inline-block;
  
    line-height:12vw;

}







#Main{
    
    
    
              -webkit-transition:all 1s;
    -o-transition-property: all;
    -o-transition-duration:1s;
    -moz-transition-property:all;
    -moz-transition-duration:1s;
    transition-property: all;
    transition-duration: 1s;
    animation: fadeIn ease 5s;
  -webkit-animation: fadeIn ease 5s;
  -moz-animation: fadeIn ease 5s;
  -o-animation: fadeIn ease 5s;
  -ms-animation: fadeIn ease 5s;

}


:root {
  --radius: 1px;
  --baseFg: white;
  --baseBg: #7285A5;
  --accentFg: #7285A5;
  --accentBg: #7285A5;
  width:100%;
}
a
.theme-pink {
  --radius: 1px;
  --baseFg: #7285A5;
  --baseBg: #7285A5;
  --accentFg: #7285A5;
  --accentBg: #7285A5;
    width:100%;
}


select {
    width:90%;
  font: 400 12px/1.3 sans-serif;
  -webkit-appearance: none;
  appearance: none;
  color: var(--baseFg);
  border: 1px solid var(--baseFg);
  line-height: 1;
  outline: 0;
  padding: 0.65em 2.5em 0.55em 0.75em;
  border-radius: var(--radius);
  background-color: var(--baseBg);
  background-image: linear-gradient(var(--baseFg), var(--baseFg)),
    linear-gradient(-135deg, transparent 50%, var(--accentBg) 50%),
    linear-gradient(-225deg, transparent 50%, var(--accentBg) 50%),
    linear-gradient(var(--accentBg) 42%, var(--accentFg) 42%);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 1px 100%, 20px 22px, 20px 22px, 20px 100%;
  background-position: right 20px center, right bottom, right bottom, right bottom;   
}

select:hover {
  background-image: linear-gradient(var(--accentFg), var(--accentFg)),
    linear-gradient(-135deg, transparent 50%, var(--accentFg) 50%),
    linear-gradient(-225deg, transparent 50%, var(--accentFg) 50%),
    linear-gradient(var(--accentFg) 42%, var(--accentBg) 42%);
}

select:active {
  background-image: linear-gradient(var(--accentFg), var(--accentFg)),
    linear-gradient(-135deg, transparent 50%, var(--accentFg) 50%),
    linear-gradient(-225deg, transparent 50%, var(--accentFg) 50%),
    linear-gradient(var(--accentFg) 42%, var(--accentBg) 42%);
  color: var(--accentBg);
  border-color: var(--accentFg);
  background-color: var(--accentFg);
}


#RiskRatings{
   

border-style: solid;
    border-color: #7285A5;
      border-radius: 10px;
    font-size: 25px;
    font-family:Avenir;
    color:#7285A5;
    text-align: center;
   
    padding: 1px;
    
}


#RedBox{

    background-color: #cc3232;
    opacity: 0.7;

    font-family:Avenir;
    color:#7285A5;
    text-align: center;
   color: white;
   padding-top: 1em;
    padding-bottom: 1em;
    
}


#OrangeBox{

    background-color: #db7b2b;
opacity: 0.7;

    font-family:Avenir;
    color:#7285A5;
    text-align: center;
   color: white;
   padding-top: 1em;
    padding-bottom: 1em;
}


#YellowBox{

    background-color: #e7b416;
  opacity: 0.7;

    font-family:Avenir;
    color:#7285A5;
    text-align: center;
   color: white;
    padding-top: 1em;
    padding-bottom: 1em;
}


#GreenBox{

    background-color: #99c140;
opacity: 0.7;
  
    font-family:Avenir;
    color:#7285A5;
    text-align: center;
   color: white;
   padding-top: 1em;
    padding-bottom: 1em;
}

#GreenBackground_9

{
    background-color:#7285A5;
    background-size: 100%;
    text-align: center;
    vertical-align: middle;

    padding-left: 1em;
    padding-right: 1em;
 
   
  
    
}

#Visuals{
    border-color: #90C2B7;
    border-style: dashed;
    padding:40px;
    margin:40px;
    border-radius: 20px;

          -webkit-transition:all 1s;
    -o-transition-property: all;
    -o-transition-duration:1s;
    -moz-transition-property:all;
    -moz-transition-duration:1s;
    transition-property: all;
    transition-duration: 1s;
    animation: fadeIn ease 5s;
  -webkit-animation: fadeIn ease 5s;
  -moz-animation: fadeIn ease 5s;
  -o-animation: fadeIn ease 5s;
  -ms-animation: fadeIn ease 5s;

}


/*a:hover:after {
    content: url(LOGO1.png); /* no need for qoutes
    display: block;
    height:20px;
    width:20px;
}

/* Slideshow container */
.slideshow-container {
  max-height: 100%;
  position: relative;
 
  margin: auto;
}

/* Hide the images by default */
.mySlides {


    display:none;
}

#slide1 {display:block;}



/* Next & previous buttons */
.prev, .next {
  cursor: pointer;



  background-color:#6495ED;
  padding: 1%;
  color: white;

  font-weight: bold;
  font-size: 4vmin;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  position: fixed;
  bottom: 50%;
  right: 0;
  width: 300px
  border-radius: 3px 0 0 3px;
  color:white;
}

.prev {
  position: fixed;
  bottom: 50%;
  left: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a  background color with a little bit see-through */
.prev:hover, .next:hover {
 opacity:0.5;
}



/* Caption text */
.text {

 text-align:center;
position:absolute;
bottom:10%;

}

/* Number text (1/3 etc) */
.numbertext {
     display: block;
  margin-left: auto;
  margin-right: auto;
  color: #f2f2f2;
  font-size: 12px;

  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #832544 ;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 500s;
  animation-name: fade;
  animation-duration: 500s;
}

@-webkit-keyframes fade {
  from {opacity: 1} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: 1} 
  to {opacity: 1}
}


#Edin{
    
    background-image: url(Place.jpeg);
    background-repeat:no-repeat;
    background-position:center;
    height:30vmin;
    width:30vmin;
   30vmin
    background-size:cover;
}


#Rural{
    
    background-image: url(Blairhaugh.png);
    background-repeat:no-repeat;
    background-position:center;
    height:30vmin;
    width:30vmin;
    margin:auto;
       background-size:cover;
}


#Barn:hover{      transform: scale(1.02);

      border-style: solid;
    border-color: darkgrey;


}

#Gardens{
 
    background-image: url(Gardens.tif);
    background-repeat:no-repeat;
    background-position:center;
    height:30vmin;
    width:30vmin;
    margin:auto;
       background-size:cover;
}




cb-slideshow,
.cb-slideshow:after { 
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0; 
}
.cb-slideshow:after { 
    content: '';
    background: transparent url(../images/pattern.png) repeat top left; 
}


.cb-slideshow li span { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 36s linear infinite 0s; 
}


.cb-slideshow li div { 
    z-index: 1000;
    position: absolute;
    bottom: 30px;
    left: 0px;
    width: 100%;
    text-align: center;
    opacity: 0;
    color: #fff;
    animation: titleAnimation 36s linear infinite 0s; 
}
.cb-slideshow li div h3 { 
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
    font-size: 240px;
    padding: 0;
    line-height: 200px; 
}


.cb-slideshow li:nth-child(1) span { 
    background-image: url(../images/1.jpg) 
}
.cb-slideshow li:nth-child(2) span { 
    background-image: url(../images/2.jpg);
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) span { 
    background-image: url(../images/3.jpg);
    animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) span { 
    background-image: url(../images/4.jpg);
    animation-delay: 18s; 
}
.cb-slideshow li:nth-child(5) span { 
    background-image: url(../images/5.jpg);
    animation-delay: 24s; 
}
.cb-slideshow li:nth-child(6) span { 
    background-image: url(../images/6.jpg);
    animation-delay: 30s; 
}

.cb-slideshow li:nth-child(2) div { 
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) div { 
    animation-delay: 12s; 
}
.cb-slideshow li:nth-child(4) div { 
    animation-delay: 18s; 
}
.cb-slideshow li:nth-child(5) div { 
    animation-delay: 24s; 
}
.cb-slideshow li:nth-child(6) div { 
    animation-delay: 30s; 
}

@keyframes imageAnimation { 
    0% { opacity: 0; animation-timing-function: ease-in; }
    8% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}

@keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}

.no-cssanimations .cb-slideshow li span{
	opacity: 1;
}

#Book{
    background-image:url('Book.png');
    background-repeat:no-repeat;
    background-position:center;
    min-height:1000vmin;
    width:100%;
    
}


.top{
    z-index:1;
}

.bottom{
    z-index:0;
}

#cf img {
    animation-name: cf3FadeInOut;
    animation-timing-function: ease-in-out;
/* if you only want to cycle a finite amount of times, 
   simply change 'infinite' with # of iterations you need */
    animation-iteration-count: infinite; 
    animation-duration: 18s;
    animation-direction: alternate; /* not strictly necessary */
    position:absolute;
   
    
    
}

#cf img:nth-of-type(1) {


    animation-delay: 4s;
}

#cf img:nth-of-type(2) {

    animation-delay: 10s;
}

#cf img:nth-of-type(3) {
  
    /* add some delay for the first picture as well */
    animation-delay: 16s;
}

@keyframes cf3FadeInOut {
    /* distributing times evenly */
    0% {
        opacity: 1;
         visibility:visible;
       
    }
    25% {
        opacity: 0;
     visibility:visible;
    }
    75% {
        opacity: 0;
        visibility:visible;
  
    }
    100% {
        opacity: 1;
        visibility:visible;
       
    }
}



#POSITION0{

    width:100%;
    z-index:0;
    position:absolute;
    top:-28vmin;
    left:0px;
}









#DATUM{
    z-index:2;
    position:absolute;
    top:300px;
    left:0px;
  
 
}



@media only screen and (max-width: 1125px) {
    
    
#SPACE1{
height:0px;
width:100%;
position:relative;

}
}

@media only screen and (min-width: 1126px) {
#SPACE1{
position:relative;

height:75vh;
width:100%;

}
}


#POSITION1{

width:100%;
 
}

#POSITION2{
background-color:darkgrey;
width:100%;
 
}

.container4 {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.container4 input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark4 {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container4:hover input ~ .checkmark4 {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.container4 input:checked ~ .checkmark4 {
  background-color:#7285A5;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark4:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.container4 input:checked ~ .checkmark4:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.container4 .checkmark4:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}