/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */
/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/* * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: Arial;
}
body {
    display: flex;
    align-items: center;
}

img {
    pointer-events: none;
}
/* * Remove text-shadow in selection highlight: * https://twitter.com/miketaylr/status/12228805301 * * Vendor-prefixed and regular ::selection selectors cannot be combined: * https://stackoverflow.com/a/16982510/7133471 * * 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 audio, canvas, iframes, * images, videos and the bottom of their containers: * https://github.com/h5bp/html5-boilerplate/issues/440 */
audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}
/* * Remove default fieldset styles. */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
/* * Allow only vertical resizing of textareas. */
textarea {
    resize: vertical;
}
/* ========================================================================== Author's custom styles ========================================================================== */
/* ========================================================================== Helper classes ========================================================================== */
/* * Hide visually and from screen readers */
.hidden, [hidden] {
    display: none !important;
}
/* * Hide only visually, but have it available for screen readers: * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility * * 1. For long content, line feeds are not interpreted as spaces and small width * causes content to wrap 1 word per line: * https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe */
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
   /* 1 */
}
/* * Extends the .sr-only class to allow the element * to be focusable when navigated to via the keyboard: * https://www.drupal.org/node/897638 */
.sr-only.focusable:active, .sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}
/* * Hide visually and from screen readers, 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: " ";
    display: table;
}
.clearfix::after {
    clear: both;
}
a {
    outline: none;
    text-decoration: none;
}
#header {
    background-image: url("../img/shutters/hollywood.jpg");
    width: 100%;
    height: 710px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding-top: 20px;
    margin-top: 75px;
}
#header span {
    font-size: 1.5em;
    margin-right: 25px;
}
#logo {
    width: 100%;
    min-width: 300px;
}
#social-media-links {
    display: flex;
    width: 20%;
    justify-content: center;
    position: relative;
}
#social-media-links img {
    flex-basis: auto;
    width: 33%;
}
#header-contact {
    display: flex;
    width: 100%;
    color: black;
    justify-content: center;
    padding: 12px 0px 12px 0px;
}
/*.faded-white {
   */
   /* opacity: .6;
   */
   /* background-color: white;
   */
   /*
}
*/
#email-icon-parent {
    width: 4%;
}
.full-width {
    width: 100%;
}
nav {
    width: 100%;
}
nav ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
   ;
    justify-content: space-around;
    padding: 0px;
    text-align: center;
}
nav li a {
    text-decoration: none;
    border-radius: 20px;
    color: black;
    font-size: 1.15em;
}
#home-section {
    margin-top: 200px;
    margin-bottom: 200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.faded-icon {
    opacity: .25;
    z-index: -5;
}
.big-icon-text-set {
    width: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.big-icon-text-set p {
    text-align: left;
}
#blinds-sub-menu {
    display: flex;
    flex-direction: column;
}
#header-logo-container {
    width: 80%;
    position: relative;
    top: -75px;
}
#header-logo-container img {
    width: 100%;
    height: 100%;
}
#header div p {
    color: white;
    text-align: right;
}
#main-container {
    width: 80%;
    margin: auto;
}
footer {
    background-color: #cccccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .75em;
}
footer ul {
    list-style-type: none;
   /*text-align: right;
   */
}
footer span {
    padding: 30px;
    text-align: center;
}
#nav-contact-row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 50%;
    flex-wrap: wrap;
}
#nav-contact-row ul {
    text-align: center;
    padding: 0px;
    font-size: 1.2em;
}
#nav-contact-row a {
    text-underline: none;
}
#docked-nav {
    position: fixed;
    top: 0px;
   /*left: 0px;
   */
   /*background-color: #bbbead;
   */
    background-color: #8e9188;
    border-bottom: 5px solid white;
    width: 100%;
    z-index:10;
}
#logo-container {
    width: 50%;
    min-width: 250px;
}
#logo-container img {
    width: 100%;
    height: 100%;
}
.epic-main-image-container img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#blinds-section-image-container img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.epic-text-section {
    display: flex;
    flex-wrap: wrap;
    padding: 50px;
    justify-content: space-evenly;
    background-color: white;
}
.epic-text-section ul {
    list-style-type: circle;
    padding: 0px;
}
.epic-text-section p:first-child {
    text-align: left;
}
.epic-text-section p, .epic-text-section div {
    width: 25%;
    text-align: left;
}
#repairs-section-container {
    display: flex;
    height: 500px;
    background-image: url("../img/tools-on-black.png");
}
#awnings-sub-sections {
    height:2100px;
}
#repair-text-section {
    color: white;
    width: 240px;
    margin-left: 100px;
    margin-top: 100px;
}
video {
}
#contact-section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 500px;
    background-image: url("../img/generic-background.jpg");
}
#contact-section-container span {
    font-size: 1.75em;
    color: white;
}
#social-media-links-contact {
    width: 50%;
    display: flex;
   /*border: 1px solid black;
   */
    justify-content: space-evenly;
}
#social-media-links-contact img {
    width: 25%;
}
.epic-header {
    background-color: #cccccc;
    font-family: "Arial";
    font-size: 1.5em;
    text-align: center;
    padding: 15px;
    margin-top: 10px;
}
.epic-header img {
    min-width: 500px;
    width: 75%;
    overflow: hidden;
}
.sub-sections-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
#blinds-sub-sections {
    height: 3900px;
}
#shutters-sub-sections {
    height: 3500px;
}
#gallery-sub-sections {
    height: 23750px;
}
.sub-section {
    width: 50%;
    border: 1px solid white;
   /*margin: 15px;
   */
    padding: 35px;
    background-color: white;
    height: auto;
    margin-bottom: 5px;
    border: 0px 
}
.sub-section-image {
}
.sub-section-image img, .sub-section-image video {
    width: 100%;
    height: 100%;
    border-radius: 30px;
}
.gallery-group img {
    padding-top: 5px;
}
.sub-section-about img {
    width: 100%;
    height: 100%;
}
.sub-section-about p {
    overflow: hidden;
}
.page h2 {
    background-color: lightcyan;
    padding: 5px;
}
.half-col {
    width: 25%;
    padding-right: 30px;
}
.three-quart-col {
    width: 75%;
}
#shutters-img img {
    max-height: 100%;
    max-width: 100%;
}
/* ========================================================================== 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) {
   */
   /*
}
*/
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
   /* Style adjustments for high resolution devices */
}
/* ========================================================================== Print styles. Inlined to avoid the additional HTTP request: https://www.phpied.com/delay-loading-your-print-css/ ========================================================================== */
@media print {
    *, *::before, *::after {
        background: #fff !important;
        color: #000 !important;
       /* Black prints faster */
        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 that are fragment identifiers, * or use the `javascript:` pseudo protocol */
    a[href^="#"]::after, a[href^="javascript:"]::after {
        content: "";
   }
    pre {
        white-space: pre-wrap !important;
   }
    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
   }
   /* * Printing Tables: * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables */
    thead {
        display: table-header-group;
   }
    tr, img {
        page-break-inside: avoid;
   }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
   }
    h2, h3 {
        page-break-after: avoid;
        font-size: 1vh;
   }
}
/*ipad portrait*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
   /* Styles */
    #main-container{
        width: 100%;
        position: relative;
        top: 200px;
   }
    p{
        font-size: 1.25em;
   }
    #home-section{
        padding: 30px;
   }
    #docked-nav {
        width: 100%;
   }
    .epic-text-section ul{
        font-size: 1.25em;
        list-style-type: circle;
   }
    #nav2 ul {
        flex-direction: column;
        font-size: 1.25em;
   }
    #shutters-sub-sections, #blinds-sub-sections, #gallery-sub-sections {
        height: unset;
   }
    #blinds-sub-sections{
        height: unset;
   }
    .sub-section {
        width: 100%;
   }
    h3{
        font-size: 1.5em;
   }
    #contact-section-container span {
        font-size: 1em;
        width: 60%;
        text-align: center;
   }
    footer span {
        font-size: 1.5em;
   }
    #repair-text-section{
        width: 50%;
   }
}
/*mobile landscape*/
/*set nav to be the same on mobile and tablet landscape*/
/* @media only screen and (min-device-width: 320px) and (max-device-height: 860px) and (orientation : landscape){
    #header{
        height: 600px;
   }
    #header-logo-container{
        position: unset;
   }
    .epic-header{
        font-size: 1em;
   }
    #main-container {
        width: auto;
   }
    #docked-nav{
        width: 100%;
   }
    #home-section{
        margin: 0px;
   }
    nav li{
        font-size: unset 
   }
    nav li a {
        font-size: .9em;
   }
    #social-media-links{
        width:40%;
   }
    .big-icon-text-set{
        width: 40%;
        padding: 15px;
   }
    #shutters-sub-sections{
        height: 3500px;
   }
    .epic-text-section ul{
        list-style-type: circle;
   }
    #blinds-sub-sections{
        height: 3800px;
   }
    #gallery-sub-sections{
        height: 6500px;
   }
    footer{
        font-size: 1.15em;
   }
    #contact-section-container span{
        text-align: center;
   }
    #logo-container{
        width: 75%;
   }
    .sub-section {
        width: 50%;
   }
    .epic-text-section div {
        width: unset;
        padding: 5px;
   }
    .epic-text-section p{
        width: 50%;
        padding: 5px;
   }
}
*/
/*mobile*/
@media only screen and (min-device-width: 220px) and (max-device-width: 580px) and (orientation: portrait) {
   /* Styles */
    #header{
        height: 500px;
   }
    nav ul {
        flex-direction: column;
        font-size: .75em;
   }
    h2 {
        font-size: .75em;
   }
    #main-container {
        width: 100%;
        position: relative;
        top: 100px;
   }
    *, *:before, *:after {
        box-sizing: unset;
   }
    #contact-section-container {
   }
    #docked-nav {
        width: 100%;
   }
    #header {
        padding-top: 0px;
        background-position: 45% 50%;
       /*background-size: cover;
       */
   }
    #header-logo-container {
        top: 0px;
        padding: 0px;
        width: 120%;
   }
    #home-section{
        margin-top: 20px;
        margin-bottom: 20px;
   }
    #nav-contact-row {
        font-size: 1.5em;
   }
    #logo-container {
        width: 100%;
   }
    p, h3 {
        font-size: 1.25em;
   }
    .sub-section{
        width: auto;
   }
    #shutters-sub-sections, #blinds-sub-sections, #gallery-sub-sections {
        height: unset;
   }
    .epic-text-section p, .epic-text-section div {
        width: unset;
   }
    ul {
        font-size: 1.25em;
   }
    #repair-text-section{
        text-align: justify;
        width: 75%;
        margin: auto;
   }
    #social-media-links {
        width: 75%;
        position: relative;
        top: -15px;
   }
    #social-media-links-contact {
        width: unset;
   }
    #contact-section-container span {
        font-size: 1em;
        width: 60%;
        text-align: center;
   }
    footer span {
        font-size: 1.5em;
   }
}
