/* CSS Document for Screens */


@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,700;1,300;1,700&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #555;
    margin: 0;
    padding: 0;
}


/* margin 1 and 3 top and botom 2 and 4 right left center it */

/* postion relative so navigation stays inside 1200 */

#page {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* position upper left hand corner and contain inside the 160 x 66 px add zindex 1 logo appears on top menus */

/* header */


/**

center aligns the background image otherwise need to put it inside a div with padding to pad it
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
    


header {
    background: url(../images/banner_1200.png) no-repeat center bottom;
    background-origin: padding-box;
    height: 430px;
    margin-top: 50px;
    z-index: 0;
    position: relative;
    padding: 30Px;
}

**/


header {
    background: url("../images/banner_1200.png");
    background-origin: padding-box;
    height: 430px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
    position: relative;
    margin-top: 50px;
    border-style: outset;
    z-index: 0;
}


header a.logo {
    z-index: 1;
    position: absolute;
    display: block;
    width: 109px;
    height: 118px;
    background: url(../images/logo2.png) no-repeat 0 0;
    background-size: contain;
    top: 10px;
    left: 10px;
}

header a.logo span {
    display: none;
}

header div.hero {
    position: absolute;
    width: 42%;
    top: 30px;
    left: 50%;
}

header div.hero h1 {
    line-height: 1em;;
    margin: 0 0 30px 0; /* space from the div.hero top position */
    /* color: #fff; */
}

header div.hero h2 {
    line-height: 1em;
    margin: 0 0 0 0; /* space from the div.hero top position */
    /* color: #fff; */
    padding-left: 40px;
    /* background-color: grey; */
}

/* Section - All */

/*
use header to push the space down
*/
section {
    padding: 0px 20px 20px 20px;
}

article {
    padding: 10px;
}


section > article {
    border-style: outset;
}

/** Navigation **/
.navbar {
    overflow: hidden;
    background-color: #333;
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1200px;
}

.navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.navbar a:hover {
    background: #ddd;
    color: black;
}


/***** Slides *****/
.mySlides {
    display: none
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1200px;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    -webkit-user-select: none;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: black;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 10%;
}

/* 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: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/***** Slides End *****/

/** Flex **/
/* Number text (1/3 etc) */
.boxtext {
    color: white;
    padding: 12px 24px;
    position: absolute;
    top: 10%;
    left: 10px;
    width: 30%;
    /*border-style: ridge; */
    border-radius: 8px;
    background-color: black;
    opacity: .60;
    text-align: center;
}

.flex-container {
    display: flex;
    /* flex-wrap: wrap; */
    flex-direction: row;
    box-sizing: border-box;
}

.flex-item-66 {
    /* background-color: #f1f1f1; */
    padding: 10px;
    flex: 66%;
    box-sizing: border-box;
}

.flex-item-34 {
    /* background-color: dodgerblue; */
    padding: 10px;
    flex: 34%;
    box-sizing: border-box;
}

.flex-item-half {
    /* background-color: dodgerblue; */
    padding: 10px;
    flex: 50%;
    box-sizing: border-box;
}
/** Flex end **/


/** Article Order Clarity **/

div.flex-container div div h1 {
    margin-bottom: 20px;
    font-weight: 800;
    /* font-size: 64px; */
}


div.flex-container div div h2 {
    color: green;
    font-weight: 700;
}

div.flex-container div div p {
    padding-right: 20px;
}


/** Price Lists **/

/** top section break **/
section[id=order] > h1 {
    text-align: center;
    font-size: 42px;
}

/* next h1 not the ones below */
section[id=order] article div > h1 {
    color: red;
    font-size: 32px;
}


section[id=order] article div > h2 {
    color: green;
}

ul {
    list-style-type: none;
    padding: 0;
    border: 1px solid #ddd;
}

ul li {
    padding: 8px 16px;
    border-bottom: 1px solid #ddd;
}

.ul-container {
    text-align: center;
    display: block;
}

ul.ul-container li.basic-app {
    color: #fff;
    background-color: #616161;
}

ul.ul-container li.premium-app {
    color: #fff;
    background-color: #f44336;
}

.li-row {
    margin: 20px;
}

.ul-container li:last-child {
    padding: 20px;
    background: #ddd;
}


/** contact form **/



@media screen and (max-width: 825px) {

    header {
        background: url("../images/banner_825.png");
        height: 295px;
    }


    h1 {
        font-size: 1.2em;
    }

    div.boxtext {
        padding: 5px;
        /* color: red; */
    }

    .boxtext > h1 {
        font-size: 1.2em;
    }

    .boxtext > div {
        font-size: 13px;
    }

    .flex-item-66 h1 {
        font-size: 1.2em;
        /* color: red; */
    }

    /** have to same name to override all the props - example color defined in flex-container
    .flex-item-66 h2 {
        font-size: .8em;
        color: red;
    }
    **/

    div.flex-container div div h2 {
        font-size: .8em;
    }
    
    div.flex-container div div p {
        font-size: .8em;
        padding-right: 10px;
    }
    
}





/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media screen and (max-width: 800px) {
    .flex-container {
        flex-direction: column;
    }

    .flex-item-34 {
        display: flex;
        justify-content: center;
    }
}






/* On smaller screens, decrease text size from slide show*/
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

@media screen and (max-width: 425px) {
    /* header */
    header {
        height: 143px;
        background-image: url(../images/banner_400.png);
    }

    header div.hero {
        position: absolute;
        width: 42%;
        top: 20px;
        left: 50%;
    }

    header div.hero h1 {
        font-size: large;
        line-height: 1em;;
        /* margin: 0 0 20px 0; /* space from the div.hero top position */
        /* color: #fff; */
    }

    header div.hero h2 {
        font-size: medium;
        line-height: 1em;
        margin: 0 0 0 0; /* space from the div.hero top position */
        /* color: #fff; */
        padding-left: 40px;
        /* background-color: grey; */
    }

    header a.logo {
        /*
        z-index: 1;
        position: absolute;
        display: block;

        */
        width: 53px;
        height: 57px;
        background: url(../images/logo4.png) no-repeat 0 0;
        background-size: contain;
        top: 5px;
        left: 5px;
    }

    .navbar {
        max-width: 384px;
    }

    /** slide show **/

    .hide-small {
        display: none!important
    }

    body {
        background-color: burlywood;
    }
}
