/*!
Theme Name: srinc
Theme URI: http://underscores.me/
Author: SlypigPro
Author URI: http://slypigpro.com
Description: WordPress theme for Silverthorne Refractories Inc.
Version: 1.0.0

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/* quattrocento-regular - latin */
@font-face {
    font-family: 'Quattrocento';
    font-style: normal;
    font-weight: 400;
    src: url('https://srinc.ca/wp-content/themes/srinc/fonts/quattrocento-v12-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('https://srinc.ca/wp-content/themes/srinc/fonts/quattrocento-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('https://srinc.ca/wp-content/themes/srinc/fonts/quattrocento-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('https://srinc.ca/wp-content/themes/srinc/fonts/quattrocento-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('https://srinc.ca/wp-content/themes/srinc/fonts/quattrocento-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('https://srinc.ca/wp-content/themes/srinc/fonts/quattrocento-v12-latin-regular.svg#Quattrocento') format('svg'); /* Legacy iOS */
  }

  /* oswald-regular - latin */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    src: url('https://srinc.ca/wp-content/themes/srinc/fonts/oswald-v35-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('https://srinc.ca/wp-content/themes/srinc/fonts/oswald-v35-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('https://srinc.ca/wp-content/themes/srinc/fonts/oswald-v35-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('https://srinc.ca/wp-content/themes/srinc/fonts/oswald-v35-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('https://srinc.ca/wp-content/themes/srinc/fonts/oswald-v35-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('https://srinc.ca/wp-content/themes/srinc/fonts/oswald-v35-latin-regular.svg#Oswald') format('svg'); /* Legacy iOS */
  }
  

:root {
    --orange: #ff9800;
    --orange2: #e88c05;
    --red: #961706;
    --black: #000000;
    --green: #688d0a;
    --green2: #9BC53D;
    --blue: #258EA6;
    --blue2: #091540;
    --jet: rgba(0, 0, 0, 0.7);
    
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body, html {
    height: 100%;
    margin: 0;
    
}



/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
    font-size: 1.3em;
    padding-top:150px;
    padding-bottom:30px;
    line-height: 1.5em;
    min-height: calc( 100vh - 161px );
}

@media screen and (max-width:480px){
    main {
        padding-top: 0;
    }
}

/*.home .site-main  {
	margin-top:0px;
}*/

/*  SECTIONS  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*  COLUMN SETUP  */
.col {
    display: block;
    float: left;
    margin: 0px;
}

.col:first-child {
    margin-left: 0;
}

/*  GROUPING  */
.group:before,
.group:after {
    content: "";
    display: table;
}

.group:after {
    clear: both;
}

.group {
    zoom: 1;
    /* For IE 6/7 */
}

/*  GRID OF SIX  */
.span_2_of_2 {
    width: 100%;
}

.span_1_of_2 {
    width: 50%;
}



/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 768px) {
    .col {
        margin: 1% 0 1% 0%;
    }

    .span_1_of_2,
    .span_2_of_2
     {
        width: 100%;
    }
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: 'Quattrocento', serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

h1 {
    color: var(--red);
}

h2 {
    color: var(--red);
}


p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 0em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    text-align: center;
    width: 50%;
    border-collapse: collapse;
    margin: 0 auto;
}

@media screen and (max-width:480px){
    table {
        width:100%;
    }
}

tr:nth-child(even) {
    background: #f5f5f5;
}

td {
    width: 50%;
    padding: 10px 0;
}

body.home .entry-content {
    margin: 0;
}

body.home main {
    margin-top: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding:0;
}

main {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width:480px){
    main {
        width:90%;
    }
}


/* Links
--------------------------------------------- */
main a,
main a:visited {
    background: linear-gradient(to bottom, var(--orange2) 0%,
            var(--orange) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 1px 1px;
    color: var(--orange);
    text-decoration: none;
    transition: background-size .1s;
}

main a:hover,
main a:focus,
main a:active {
    background-size: 4px 50px;
    color: #FFFFFF;
    padding:2px;
}

main a:focus {
    outline: thin dotted;
}

main a:hover,
main a:active {
    outline: 0;
}

.gallery a, .gallery a:visited {
   background-size: 0px 0px;
}

.gallery a:hover,
.gallery a:focus,
.gallery a:active
 {
    background-size: 0;
    
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*  SECTIONS  */
.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 0%;
}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  GRID OF FOUR  */
.span_4_of_4 {
	width: 100%;
}
.span_3_of_4 {
	width: 75%;
}
.span_2_of_4 {
	width: 50%;
}
.span_1_of_4 {
	width: 25%;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 768px) {
	.col {  margin: 1% 0 1% 0%; }
	.span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4 { width: 100%; }
}


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
body.home .entry-title {
    display: none;
}

body.home .srinc-header {
    width: 100%;
    height: 80px;
    background-color: transparent;
    z-index: 1;
    transition: background-color 200ms linear;
    border-bottom:1px solid rgba(255, 255, 255, 0.5);
}

.srinc-header {
    width: 100%;
    height: 80px;
    background-color: #000;
    z-index: 1;
    transition: background-color 200ms linear;
}

body.home .srinc-header.fixed {
    background-color: #000;
    transition: background-color 200ms linear;
    border-bottom: none;
  }

  body.home .srinc-header.fixed2 {
    background-color: #fff;
    transition: background-color 200ms linear;
    border-bottom: none;
  }

.srinc-header-content {
    width: 100%;
    position: relative;
    top: 25%;
    margin: 0 auto;
}

/* Navigation
--------------------------------------------- */


.main-nav {}

.main-nav ul {
    display: none;
    list-style: none;
    margin: 0;
    padding: 5px 0;
    text-align: center;
}

.main-nav ul li:hover>ul,
.main-nav ul li.focus>ul {
    left: 20px;

}

.main-nav li {
    display: inline-block;
    position: relative;

}

.main-nav li a {
    display: inline-block;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.6em;
    padding: 0 30px;
    color: #FFFFFF;
}

.main-nav li a:hover {
    color: var(--orange);
}

.main-nav li li a:hover {
    color: var(--orange);
}

.main-nav ul ul {
    display: inline;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
    background: var(--jet);
    opacity:0;
    transition: opacity 0.4s linear, visibility 0.4s linear;
    border-radius: 5px;
}

.main-nav ul li:hover > ul {
    visibility: visible;
    opacity: 1;
}

.main-nav ul ul a {
    width: 300px;
    padding: 10px;
    text-align: left;
}

/*************************************************/


/* Small menu. */
.menu-toggle,
.main-nav.toggled ul {
    display: block;
    height: 100%;
}

@media screen and (min-width: 37.5em) {

    .main-nav ul {
        display: block;
        text-align: center;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

#masthead {
    position: fixed;
    width: 100%;
    z-index: 9999;
    top: 0;
}

#hero {
    background-image: url('https://srinc.ca/wp-content/uploads/2020/12/srinc-header-ladle.jpg');
    height: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display:flex;align-items:center;width:100%;
    }

#hero .content {
    height:auto;
    width:100%;
    color: white;
    font-size: 50px;
    text-align: left;
    padding: 0 80px;
}

#hero .content img {
    -webkit-filter: drop-shadow(2px 2px 5px #000);
    filter:         drop-shadow(2px 2px 5px #000); 
}

#hero .content .qual {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 55px;
    text-shadow: 2px 2px 5px #000;
    font-weight: 700;
    text-transform: uppercase ;
}

@media screen and (max-width:480px) {
    #hero {
        margin-top:-50px;
    }
    
    #hero .content {
        text-align: center;
        padding:0;
       
    }
}



@media screen and (max-width:768px) {
    #hero {
        background-attachment: inherit;
        
        height:auto;
        padding:30% 0;
       
    }

    
}



/* Posts and pages
--------------------------------------------- */

/* Home Page 
--------------------------------------------- */
.first,
.second,
.third {
    width: 100%;
    text-align: center;
    padding:2% 0;
    overflow: hidden;
}

@media screen and (max-width:748px) {
    .first,
    .second,
    .third {
     padding-bottom:10%;
}   
}

.first, .third {
    background-color: #FFFFFF;
}

.second {
    background: rgb(63, 85, 6);
    background: linear-gradient(180deg, rgba(63, 85, 6, 1) 0%, rgba(85, 115, 8, 1) 35%, rgba(102, 139, 8, 1) 100%);
    color: #FFFFFF;
}

.second .darkbg {
    color: var(--green2);
}

.first-content,
.second-content,
.third-content {
    width: 80%;
    margin: 0 auto;
}

@media screen and (max-width:480px){
    .first-content,
.second-content,
.third-content {
    width: 90%;
    }
}

.text-box {
     width: auto;
     padding:8% 5%;
}



.picture-box1,
.picture-box2,
.picture-box3

{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    width: auto;
}

.picture-box1 img,
.picture-box2 img,
.picture-box3 img {
    border-radius: 15px;
}

.sticky {
    display: block;
}

.post,
.page {
    margin: 0 0 0em;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.direct h2 {
    margin-top:0;
}


/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-item img {
    width: 200px;
    height: 200px;
    border: 5px solid var(--black);
    transition: 0.2s ease-in-out;
}

.gallery-item img:hover {
    border: 5px solid var(--orange);
    
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}


/********   MAP   *********/

.mapper {
    border: 2px solid var(--red);
}

/**********   FOOTER   **********/

.site-footer {
    width: 100%;
    background-color: var(--black);
    padding: 40px 0;
    margin-top: auto;
    color: #FFFFFF;
    font-weight: normal;
    font-size: 0.8em;
    /*min-height: 150px;*/
    clear: both;
    overflow: hidden;
}

.site-info {
    width: 85%;
    margin: 0 auto;
}

#footer-sidebar1,
#footer-sidebar2,
#footer-sidebar3 {
    width: 32%;
    padding-top: 10px;
}

#footer-sidebar1 {
    float: left;
    margin: 0;
    text-align: left;
}

#footer-sidebar2 {
    float: left;
    margin: 0 20px;
    text-align: center;
}

.social-media {
    display: block;
}

.social-media a img {
    margin: 0 10px;
    transition: ease 200ms;
}

.social-media a img:hover {
    transform: rotate(15deg);
}


#footer-sidebar3 {
    float: right;
    margin: 0;
    text-align: right;
}

#footer-sidebar3 .developed,
#footer-sidebar3 .developed a {
    color: #b3b0b0;
    text-decoration: none;
}

#footer-sidebar3 .developed a:hover {
    color: #fff;
}

@media screen and (max-width:780px) {

    #footer-sidebar1,
    #footer-sidebar2,
    #footer-sidebar3 {
        width: 100%;
        text-align: center !important;
        margin: 0;
    }


}



/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    text-align: center;
}

.canadian {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--black);
    padding: 1em;
    
    color: #FFFFFF;
    font-size: clamp(1em, 0.2em + 1vw, 2em);
}

.canadian img {
    margin:0 1em;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 80%;  /* Make the modal width responsive */
    max-width: 400px; /* Set a max-width for larger screens */
    box-sizing: border-box;
}

.modal-image {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.close-btn {
    padding: 10px 20px;
    background-color: var(--red);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.close-btn:hover {
    background-color:var(--orange);
}

