/*
Theme Name: vqs 2023
Author: Helen Lee
Author URI: https://helenlee.co.uk
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: vqsltd
Requires at least: 6.1
Requires PHP: 7.4
Tested up to: 6.2
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
    border: 0;
}


.wp-container-content-1 {
    flex-grow: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    margin: 20px 0 20px 0 !important;
}
p, .wp-block-buttons {
   margin: 0 0 20px 0 !important;
}
    .tags p {
       margin: 0 0 0 0 !important;
    }

.wp-block-quote p, .wp-block-quote cite {
    margin-left: 3rem !important;
    padding-top: 8px !important;
}
ul {
    padding-left: 60px !important;
}

/* Archive */
.wp-block-query ul {
    padding-left: 0px !important;
}
.wp-block-query ul li {
    margin-right: 10px !important;
    margin-bottom: 20px !important;
}

/* header */
header {
    position: relative;
    margin-bottom: 0;
    border-bottom: 0px solid blue;
}
    /* header block */
    .nav-logo {
        position: relative;
        width: 100%;
        padding: 10px 10px;
    }
        /* logo */
        .wp-block-site-logo {
            width: 70px;                   /* resize logo on mobile */
        }
        .wp-block-site-logo img {
            width: 100%;                    /* resize logo on mobile */
            height: auto;
        }
        /* navigation menu */
        .nav-logo nav {
            position: absolute;
            right: 15px;
            z-index: 1000;
        }
        /* social icons */
        .nav-logo .wp-block-social-links {
            position: absolute;
            right: 50px;
        }
        .wp-social-link-linkedin {
            background: #050d9e !important;
        }

        /* navigation menu + social icons */
        .nav-logo ul {
            padding-left: 0 !important;
        }

    /* image & strapline */
    #strapline {
        text-align: center;
        padding: 0px 20px !important;
    }
        #strapline p {
            font-size: 1.3rem;
            padding: 0px !important;
        }
        #strapline .wp-block-buttons {
            padding: 0px !important;
        }


/* main content */
main {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

    .wp-block-media-text .wp-block-media-text__content {
        padding: 0 !important;
    }
    .wp-block-separator {
        width: 100%;
        border-bottom: 0;
        margin: 40px 0;
    }

    form p {
        margin-bottom: 5px !important;
    }
    form label {
        float: none;
        clear: both;
        width: 100%;
    }
    form input[type=text],
    form input[type=email],
    form input[type=tel],
    form select,
    form input[type=date],
    form textarea {
        width: 100%;
        padding: 6px;
        border: 0;
        background: #eee;
        margin-bottom: 4px;
    }
    form input[type=submit],
    form input[type=button] {
        background: #0C249E;
        padding: 6px 10px;
        color: #fff;
        font-size: 120%;
        border: 0;
        border-radius: 10px;
        float: right;
    }


/* footer */
footer {

}
    footer .wp-block-columns  {
        padding: 40px !important;
    }
    footer h2 {
        padding-left: 0px !important;
    }
    footer ul {
        padding-left: 0px !important;
    }








/***** MEDIA QUERIES *****/


/* Small devices (mobile (portrait), 420px and up) */
@media (min-width: 400px) {



}

/* Small devices (mobile (landscape), 472px and up) */
@media (min-width: 472px) {

h1, h2, h3, h4, h5, h6, p, .wp-block-buttons {
    margin: 0 0 20px 0 !important;
}
ul {

}

/* header */
header {
    border-bottom: 0px solid green;

}

    /* header block */
    .nav-logo {
        width: 100%;
        padding: 25px 20px;
    }
        /* logo */
        .wp-block-site-logo {
            width: 90px;
        }
        /* navigation menu */

        /* social icons */

    /* image & strapline */
    #strapline {
        width: 60%;                               /* set width from right  */
        padding: 35px 20px !important;

    }
        #strapline p {
            font-size: 1.2rem;                        /* change font size  */
        }

/* main content */
main {

}

    .wp-block-media-text .wp-block-media-text__content {
        padding: 0 8% !important;
    }

/* footer */
footer {

}




}


/* Small devices (tablets (portrait), 768px and up) */
@media (min-width: 768px) {

/* header */
header {
    border-bottom: 0px solid purple;

}
    /* header block */
    .nav-logo {
        position: absolute;    /* move over image */
        top: 0;
        left: 0;
        padding: 25px 40px;
    }


        /* logo */

        /* navigation menu */
        .nav-logo nav {
            position: relative;
            left: 10px;
            width: calc(95% - 190px) !important;
            padding: 10px 0;
            border-bottom: 1px solid #3d3d3d;    /* border underneath desktop menu */
        }
        .nav-logo nav li {
            margin-right: 4px;
        }
        /* social icons */
        .nav-logo .wp-block-social-links {
            position: relative;
        }

    /* image & strapline */
    #strapline {
        position: absolute;                       /* float  */
        bottom: 0px;
        right: 40px;
        width: 55%;                               /* set width from right  */
        padding: 30px 20px !important;
    }
        #strapline p {
            color: #ffffff !important;                /* change colour to white  */
            font-size: 1.4rem;                        /* change font size  */
        }

/* main content */
main {
}

/* footer */
footer {

}

}


/* Medium devices (tablets (landscape), 1024px and up)    */
@media (min-width: 1024px) {

/* header */
header {
    border-bottom: 0px solid orange;

}
    /* header block */
    .nav-logo {
        padding: 25px 60px;
    }
        /* logo */
        .wp-block-site-logo {
            width: 130px;
        }

        /* navigation menu */
        .nav-logo nav {
            left: 30px;
        }
        .nav-logo nav li {
            margin-right: 24px;
        }

        /* social icons */

    /* image & strapline */
    #strapline {
        width: 60%;                               /* set width from right  */
        padding: 40px 20px !important;
    }
        #strapline p {
            font-size: 1.8rem;                        /* change font size  */
        }

/* main content */
main {

}


/* footer */
footer {

}
    footer .wp-block-columns  {
        padding: 80px !important;
    }

}


/* Medium devices (desktops, 1170px and up)    */
@media (min-width: 1170px) {



/* header */
header {

}
    /* header block */
    .nav-logo {
        padding: 25px 80px;
    }
        /* logo */

        /* navigation menu */

        /* social icons */

    /* image & strapline */
    #strapline {
        width: 50%;                               /* set width from right  */
        padding: 60px 20px !important;
    }
        #strapline p {
            font-size: 2.2rem;                        /* change font size  */
        }

/* main content */
.home main {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}
    form p {
        margin-bottom: 10px !important;
    }
    form label {
        float: left;
        width: 25%;
    }
    form input[type=text],
    form input[type=email],
    form input[type=tel],
    form textarea {
        width: 60%;
    }
    form select,
    form input[type=date] {
        width: 30%;
    }

/* footer */
footer {

}

}

/* Large devices (large desktops, 1400px and up)    */
@media (min-width: 1400px) {

/* header */
header {

}
    /* header block */

        /* logo */

        /* navigation menu */

        /* social icons */

    /* image & strapline */
    #strapline {
        width: 40%;                               /* set width from right  */
    }
        #strapline p {
            font-size: 2.6rem;                        /* change font size  */
        }

/* main content */
main {

}

/* footer */
footer {

}

}



/* Naviagtion over image on home page */

@media (min-width: 768px) {
    .home .nav-logo nav li:nth-child(3),
    .home .nav-logo nav li:nth-child(4),
    .home .nav-logo nav li:nth-child(5),
    .home .nav-logo nav li:nth-child(6) { color: #fff; }
}

@media (min-width: 950px) {
    .home .nav-logo nav li:nth-child(3) { color: #3d3d3d; }
}
@media (min-width: 1150px) {
    .home .nav-logo nav li:nth-child(4) { color: #3d3d3d; }
}
@media (min-width: 1390px) {
    .home .nav-logo nav li:nth-child(5) { color: #3d3d3d; }
}
@media (min-width: 1550px) {
    .home .nav-logo nav li:nth-child(6) { color: #3d3d3d; }
}
