* {
    box-sizing: border-box;
}

/* remove all ul list styles */
ul {
    list-style: square;
}

.modular .features p {
    font-size: 1rem;
}

.modular .features h2{
    margin-top: 2em;
}

.fullwidth #body > .modular-row.features {
    text-align: left;
}

.fullwidth #body > .modular-row.features h2 + h3 {
    text-align: left;
}


/* Create three columns of equal width */
.columns {
    float: left;
    width: 50.0%;
    padding: 8px;
} 

/* Style the list */
.price {
    list-style-type: none;
    border: 1px solid #eee;
    margin: 0;
    padding: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

/* Add shadows on hover */
.price:hover {
    box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)
}

/* Pricing header */
.price .header {
    background-color: #1BB6E9;
    color: white;
    font-size: 1.2rem;
}

/* List items */
.price li {
    border-bottom: 1px solid #eee;
    padding: 20px;
}

/* Grey list item */
.price .grey {
    background-color: #70CFEF;
    font-size: 1rem;
}

.price a {
    font-size: 1rem;
}

.modular .showcase {
    position: relative;
    background-color: black;
    height: 75vh;
    min-height: 15rem;
    max-height: 23rem;
    width: 100%;
    overflow: hidden;
  }
  
  .modular .showcase video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }
  
  .modular .showcase .container {
    position: relative;
    z-index: 2; 
  }
  
  .modular .showcase .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.4;
    z-index: 1;
  }
  
  .modular .video-section {
    padding: 6em 0em 0em 0em;
    position: relative;
    background-color: black;
    height: 75vh;
    min-height: 15rem;
    max-height: 23rem;
    width: 100%;
    overflow: hidden;
  }
  
  .modular .video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }
  
  .modular .video-section .container {
    position: relative;
    z-index: 2; 
  }
  
  .modular .video-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.4;
    z-index: 1;
  }

  .modular .video-section h1,
  .modular .video-section h2 {
    font-family: "Raleway", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
    color: #FFF;

  }

  .modular .video-section h1 {
    font-size: 2.8em; 
    letter-spacing: 0.1em;
    line-height: 2.8em;  
    text-transform: uppercase;
}

.modular .video-section h2 { 
    font-size: 2em;
    letter-spacing: 0.05em;
    font-weight: 300; 
}

/* Showcase custom styles */

.modular .showcase {
    text-align: center;
} 


.modular .showcase h1,
.modular .showcase h2 {
    font-family: "Raleway", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
}

.modular .showcase h1 {
    font-size: 2.0em; 
    letter-spacing: 0.1em;
    line-height: 2.0em;  
    text-transform: uppercase;
}

.modular .showcase h2 { 
    font-size: 1.5em;
    letter-spacing: 0.05em;
    font-weight: 300;
}


.modular .showcase a.social-link {
    color: white;
}

.modular .showcase a:hover.social-link {
    color: white;
    text-decoration: underline;
}

.modular .showcase .polaroid,
.modular .contact .polaroid,
.modular-row.features .polaroid {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 210px;
    background-color: white;
    padding: 0.3em 0.3em 0.0em 0.3em;
    margin: 0em auto;
}

.modular .showcase .polaroid > img,
.modular .contact .polaroid > img,
.modular-row.features .polaroid > img {
    width: 100%;
    border: 1px solid black;
}

.modular .showcase .remove-top-margin {
    margin-top: 0em;
}

.modular .showcase .showcase-left {
    float: left; 
}

.modular .showcase .showcase-right {
    float: left; 
    margin-left: 1em;
}

.modular .showcase .showcase-right h4.person-name {
    margin-top: -0.4em; 
    margin-bottom: -0.1em;
}  

blockquote{
    font-size: 1.4em;
    width:70%;
    margin:50px auto;
    font-family:Open Sans;
    font-style:italic;
    color: #555555;
    padding:1.2em 1em 1.2em 1em;
    border-left:8px solid rgb(33, 150, 243) ;
    line-height:1.6;
    position: relative;
    background:#EDEDED;
  }
  
  blockquote::before{
    font-family:Arial;
    /* content: "\201C"; */
    color:rgb(33, 150, 243);
    font-size:4em;
    position: absolute;
    left: 10px;
    top:-10px;
  }
  
  blockquote::after{
    content: '';
  }
  
  blockquote span{
    display:block;
    color:#333333;
    font-style: normal;
    font-weight: bold;
    margin-top:1em;
  }
 
 /* increase header size after 600px */
 @media all and (min-width: 600px) {
     .blockquote h1 {
         font-size: 3rem;
         line-height: 1.2;
    }
 
 }
 
 /* Blockquote subheader */
 .blockquote h4 {
     position: relative;
     color: #ffffff;
     font-size: 1.3rem;
     font-weight: 400;
     line-height: 1.2;
     margin: 0;
     padding-top: 15px;
     z-index: 1;
     margin-left:150px;
     padding-left:12px;
 }
 
  
 .blockquote h4:first-letter {
   margin-left:-12px;
 }
 

/* Contact custom styles */

.modular .contact {
    text-align: left
}

.modular .contact h2 {
    text-align: center; 
    font-size: 2rem;
    font-weight: 300;
    font-family: "Raleway", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
}


.modular .contact h1 {
    font-size: 0px;
}

.modular .contact a.social-link {
}

.modular .contact a:hover.social-link {
    text-decoration: underline;
}

.modular .contact .remove-top-margin {
    margin-top: 0em;
} 

.modular .contact .contact-content {
    text-align: center;
    margin: auto; 
} 


@media only screen and (min-width: 1440px) {
    .fullwidth #body > .modular-row.showcase h1,
    .fullwidth #body > .modular-row.showcase p { 
        margin: 0 auto;
        width: 60rem; 
    }
    
    
    .fullwidth #body > .modular-row.features { 
        margin: 0 auto;
        width: 70rem;
    } 

    .modular-row.default-narrow { 
        margin: 0 auto;
        width: 54rem;
    }

    .modular .showcase h1 {
        font-size: 2.8em; 
        letter-spacing: 0.1em;
        line-height: 2.8em;  
        text-transform: uppercase;
    }
    
    .modular .showcase h2 { 
        font-size: 2em;
        letter-spacing: 0.05em;
        font-weight: 300;
    }
}

@media only screen and (min-width: 1980px) {
    .fullwidth #body > .modular-row.features { 
        margin: 0 auto;
        width: 78rem;
    }

    .modular-row.default-narrow { 
        margin: 0 auto;
        width: 64rem;
    }
}
 
@media only screen and (max-width: 1050px) {
    #header #logo h3 {
        font-size: 1.4rem;
    }
}

/* Change the width of the three columns to 100% 
(to stack horizontally on small screens) */
@media only screen and (max-width: 600px) {
    .columns {
        width: 100%;
    }

    .modular .showcase .polaroid {
        margin: auto;
    }

    .modular .showcase .showcase-left {
        float: none; 
    }
    
    .modular .showcase .showcase-right {
        float: none; 
    }

    .modular .showcase .showcase-right h4.person-name {
        margin-top: 1em; 
        margin-bottom: 0em;
    }

    blockquote{ 
        width:100%; 
    } 
}

@media only screen and (max-width: 370px) {
    #header #logo h3 {
        font-size: 1.4rem;
    }

    
}

.label {
    color: white;
    padding: 8px;
    border-radius: 0px;
    display: inline;
}

.available {background-color: #4CAF50;} /* Green */
.reserved {background-color: #f44336;} /* Red */ 
.info {background-color: #2196F3;} /* Blue */
.warning {background-color: #ff9800;} /* Orange */
.other {background-color: #e7e7e7; color: black;} /* Gray */

.info-note {
    border-left: 6px solid #2196F3;
}

.info-available {
    border-left: 6px solid #4CAF50;
}

.info-not-available {
    border-left: 6px solid #f44336;
}

.info-free {
    border-left: 6px solid #ff9800;
}

.info-available.bg {
    transition: 0.3s;
}

.info-available.bg:hover {
    background-color: #4caf5030;
}

.info-not-available.bg:hover {
    background-color: #f4433630;
}

.info-free.bg:hover {
    background-color: #ff980030;
}

.info-note p,
.info-free p,
.info-available p,
.info-not-available p {
    padding-left: 1em;
    padding-right: 1em;
}

.info-note p a,
.info-free p a,
.info-available p a,
.info-not-available p a {
    text-align: right;
    float: right;
}

.info-available p a {
    color: #444;
}


.info-not-available p a {
    color: #f44336;
}

.profile-card.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin: auto;
    text-align: center;
}

.profile-card .title {
    color: grey;
    font-size: 18px;
}

.profile-card button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
}

.profile-card a {
    text-decoration: none;
    font-size: 22px;
    color: black;
}

.profile-card button:hover, .profile-card a:hover {
    opacity: 0.7;
}


@media only screen and (max-width: 600px) {
    .modular .showcase {
        text-align: center;
    }

    .modular .showcase h2 {
        text-align: center;
    }
}

/* Bigger font for bigger screens */
@media only screen and (min-width: 1980px) {
    p, li, li a, .price a {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 3rem;
    }

    h2 + h3 {
        font-size: 2.5rem;
    }

    .modular .features p { 
        font-size: 1.6rem;
    }

    .price .grey {
        font-size: 1.6rem;
    }

    /* Pricing header */
    .price .header { 
        font-size: 1.7rem;
    } 

    #header.scrolled {
        height: 5rem;
    }

}

#header #logo h3 {
    display: none;
}

#header #navbar {
    text-align: center;
}

#header #navbar ul.navigation {
    float: none;
}

.header-image #body .flush-top {
    padding-top: 8.2rem;
}

.text-center {
    text-align: center;
} 

/* usabilitytesting styles */
.modular .showcase .usabilitytesting h1, h2 {
    font-size: 6vw;
    padding: .5rem;
}

.agilefeatures {
    padding: .5rem;
}

.agilefeatures-text {
    float: none;
}

.agilefeatures ul {
    margin-top: 1rem;
    margin-bottom: 0;
    padding: .5rem;
}

.agilefeatures-container,
.test-pricing-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 2rem;
    list-style: none;
    text-align: center;
}

.test-pricing-container {
    padding: 1rem;
    align-items: center;
}

.agilefeatures h3 {
    margin: 0;
}

.agilefeatures p {
    margin: .75rem 0;
}

.test-pricing p {
    margin-bottom: .5rem;
}

.test-pricing-container img,
.agilefeatures-container img {
    max-width: 50%;
    height: fit-content;
}

.agilemethodies-image {
    display: inline-block;
    float: none;
  }

.infoboxes,
.infobox-1-3 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: .5rem;
    margin: .5rem;
}

.infobox-1-3 {
    border: .25px solid #eee;
}

.infoboxes button {
    margin: 1rem;
    padding: .5rem;
    border-radius: .25rem;
    width: fit-content;
    align-self: center;
    background-color: #2196F3;
    color: #FFF;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
}

.infobox_header {
    height: 10%;
}

.infoboxes h3 {
    font-size: 1.2rem;
}

@media only screen and (min-width:768px) {
    .modular .showcase .usabilitytesting h1, h2 {
        font-size: 5vw;
    }

    .agilefeatures h2 {
        margin-bottom: 1rem;
    }

    .agilefeatures ul {
        margin: 1rem;
        padding: 1rem;
    }

    .agilefeatures-container,
    .test-pricing-container {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-content: center;
        text-align: left;
    }

    .infoboxes {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem;
    }

    .infobox-1-3 {
        width: 33%;
        margin: .75rem;
    }

    .infobox_btn {
        height: 20%;
        margin: 1.5rem auto;
        font-size: 1.3rem;
    }

    .infobox_text {
        height: 25%;
        margin-bottom: 1rem;
    }

    .agilefeatures-text,
    .test-pricing {
        width: 25rem;
        float: right;
    }

    .agilefeatures-container img {
        max-width: 60%;
        height: fit-content;
    }

    .test-pricing-container img {
        max-width: 35%;
        height: fit-content;
        margin-right: 2rem;
    }
}

@media only screen and (min-width: 991px) {
    .modular .showcase .usabilitytesting h1, h2 {
        font-size: 4vw;
    }

    .agilefeatures-text,
    .test-pricing {
        width: 35rem;
    }

    .infoboxes h3 {
        font-size: 1.4rem;
    }

    .infoboxes {
        padding: 1rem;
        max-width: 1500px;
        margin: auto;
    }

    .infobox_text {
        font-size: larger;
    }

}

@media only screen and (min-width: 1200px) {
    .modular .showcase .usabilitytesting h1, h2 {
        font-size: 2.5vw;
    }

    .infoboxes h3 {
        font-size: 1.8rem;
    }

    .agilefeatures-text,
    .test-pricing {
        width: 45rem;
    }
}

@media only screen and (min-width: 1450px) {
    .test-pricing {
        width: 45rem;
    }
}

/*sign up form custom styles*/
.form-info-text {
    justify-content: center;
    margin: 3rem auto 0 auto;
    max-width: 1100px;
    font-size: 24px;
}

#ilmoittautuminen {
    max-width: 1100px;
    font-size: 1.25rem;
    justify-content: center;
    margin: 0 auto;
}

#ilmoittautuminen button {
    margin-top: 3rem;
 }

.form-spacer h3 {
    margin: 5rem auto 0 auto;
}

.form-spacer p {
    margin: 2rem 0 0 0;
    font-size: 1.5rem;
}

.form-label,
.form-data {
    margin: .5rem;
}

.form-label label,
.form-data label {
    font-weight: 500;
    margin-top: 1.5rem;
}

.form-data .checkboxes {
    display: flex;
}

.form-data .checkboxes label {
    padding: 0 0 0 30px;
    margin: 0;
}