/* 
Theme Name: Selwyn School Theme
Theme URI: #
Description: Programmed by sz@ FrozenFire

Version: 4.0.0
Author: FrozenFire
Author URI: #
Tags: #
-------------------------------------------------------------- */
/*@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Book.woff2') format('woff2'),
        url('fonts/Gotham-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-BookItalic.woff2') format('woff2'),
        url('fonts/Gotham-BookItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-BoldItalic.woff2') format('woff2'),
        url('fonts/Gotham-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Bold.woff2') format('woff2'),
        url('fonts/Gotham-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Light.woff2') format('woff2'),
        url('fonts/Gotham-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-LightItalic.woff2') format('woff2'),
        url('fonts/Gotham-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
}
*/



/*TYLER UPDATES**********/

:root{
--font: "Gentium Book Plus", Sans-serif;
}

.container
{max-width:1140px!important}

/*End tyler updates*/

html, body {-webkit-font-smoothing: antialiased; }
a, a:hover, a:active, a:focus { outline: 0;}
object, embed {outline: 0;}
input::-moz-focus-inner { border: 0; }
input[type="checkbox"] {-webkit-appearance: checkbox;}
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
select::-ms-expand {display: none;}
body {
font-family: var(--font)!important;
font-weight:normal;
font-size:1.1em;
line-height:1.8;
color: #636466
}
figure {margin: 0}
a{-webkit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
-ms-transition: all 0.25s ease-in-out;
-o-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;}
a {color: #636466;}
a:hover,a:focus{color:var(--blue); text-decoration: none}
ul,ol, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {font-weight: normal;line-height: 1.4; margin: 0 0 1rem}
ul,ol {padding: 0 0 0 15px; line-height: 1.4}

.page-id-39 .sec-main ul, .page-id-41 .sec-main ul {text-align: left !important}

p {margin-bottom: 2rem}

h1 {font-size: 3.5em}
h2 {font-size: 1.5em;  color: var(--blue); margin-bottom: 1rem;}
.selwynfaqs h2 {font-size: 1.25em}
h2.singletitle {font-size: 1.75em; font-weight: bold; letter-spacing: normal; margin: 30px 0 20px}
h3 {font-size: 1.75em}
.singleinner h3 {font-size: 1.5em; color: var(--blue); margin-bottom: 10px;}
h4 {font-size: 1.25em}
h5 {font-size: 1.15em;color: var(--blue) }
h5>strong {letter-spacing: 1px}
h6 {font-size: 1.15em}

strong, b {font-weight: bold}
h4>strong {letter-spacing: 4px; color:var(--blue) }

blockquote {font-family: var(--font)!important, serif; color:var(--blue); margin: 20px 0 -20px; font-size: 1.25em; line-height: 1.8}
blockquote em {padding-bottom: 15px; display: block; font-size: 1.2em}

hr {margin: 100px auto; border-top: 1px solid var(--blue); position: relative; }
hr::after {content: ""; display: block; width: 60px; height: 60px; position: absolute; top:-30px; left:50%; margin-left: -30px; background: white url(img/logo_selwynschool_crest.png) 50% 50% no-repeat; background-size: 48px auto}

pre {font-size: 90%; margin: 0 0 3rem; color: #636466;font-family: var(--font)!important;font-weight:bold; }
pre>a, a.read-more {display: inline-block; padding: 6px 10px;border-radius: 6px; margin-bottom: 10px; background:var(--red); color: white !important;
-webkit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
-ms-transition: all 0.25s ease-in-out;
-o-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;}
pre>a:hover, a.read-more:hover {color: white; background-color:var(--blue); text-decoration: none}
a.read-more {font-weight: bold; font-size: 1.1em; margin: 30px auto}

/* Preloader - related css - start here */
body { overflow: hidden; }
#preloader {
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#fff; /* change if the mask should have another color then white */
    z-index:99999; /* makes sure it stays on top */
}
#status {
    width:200px;
    height:200px;
    position:absolute;
    left:50%; /* centers the loading animation horizontally one the screen */
    top:50%; /* centers the loading animation vertically one the screen */
    background-image:url(img/status.gif); /* path to your loading animation */
    background-repeat:no-repeat;
    background-position:center;
    margin:-100px 0 0 -100px; /* is width and height divided by two */
}
/* Preloader - related css - end here */

/*form stuff reset*/
form label {line-height: normal!important; font-weight: normal !important}

::-webkit-input-placeholder { /* Chrome */
  color: #636466;
  transition: opacity 250ms ease-in-out;
}
:focus::-webkit-input-placeholder {
  opacity: 0.5;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #636466;
  transition: opacity 250ms ease-in-out;
}
:focus:-ms-input-placeholder {
  opacity: 0.5;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #636466;
  opacity: 1;
  transition: opacity 250ms ease-in-out;
}
:focus::-moz-placeholder {
  opacity: 0.5;
}
:-moz-placeholder { /* Firefox 4 - 18 */
  color: #636466;
  opacity: 1;
  transition: opacity 250ms ease-in-out;
}
:focus:-moz-placeholder {
  opacity: 0.5;
}
/*form stuff reset*/


.elegant  
{-webkit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
-ms-transition: all 0.25s ease-in-out;
-o-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;}

.coverbk {background-size: cover; background-position: 50% 50%; background-repeat:no-repeat}

.coverbk.fimg {background-position: 50% 0% }

/* == WordPress WYSIWYG Editor Styles == */

.entry-content img {
	margin: 0 0 1.5em 0;
	}

.alignleft, img.alignleft {
	display: block; margin: 10px auto;
	}
.alignright, img.alignright {
	display: block;margin: 10px auto;
	}

.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}
.gallery dl {}
.gallery dt {}
.gallery dd {}
.gallery dl a {}
.gallery dl img {}
.gallery-caption {}

.size-full {}
.size-large {}
.size-medium {}
.size-thumbnail {}


/********### NAV ###********/
#wpadminbar {top:auto !important; bottom: 0}
html[lang] {margin-top: 0 !important}
/* #topper {z-index: 18; width: 100%;}
#topper article {text-align: right}
#topper article ul {padding: 0 5px 0 0; margin:0; list-style: none}
#topper article ul>li {display: inline-block}
#topper article ul>li>a {display: block; color: rgba(0,0,0,0); padding: 10px 10px 10px 38px; background-size: 30px auto; background-position: 50% 50%; background-repeat: no-repeat; text-indent: -8000px;}
#topper article ul>li>a:hover {background-position: 50% 40%}
/*#topper article ul>li:nth-child(1)>a {background-image: url(img/icon_topper_renweb.png)}
#topper article ul>li:nth-child(1)>a {background-image: url(img/icon_topper_donate.png)}
#topper article ul>li:nth-child(2)>a {background-image: url(img/icon_topper_visit.png); background-size: 26px auto }
#topper article ul>li:nth-child(3)>a {background-image: url(img/icon_topper_apply.png); background-size: 22px auto}
#topper article ul>li:nth-child(4)>a {background-image: url(img/icon_topper_calendar.png); background-size: 20px auto}
#topper article ul>li:nth-child(5)>a {background-image: url(img/icon_topper_shop.png); background-size: 18px auto} */


/* .selwynnav .navbar-nav {margin-right: -.5rem; padding: 30px 0 50px}
.navbar-light.selwynnav .navbar-toggler {border-color: white; margin-right: 15px;}
.navbar-light.selwynnav .navbar-toggler-icon {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.navbar-light.selwynnav .navbar-nav .nav-link {color: white; padding: .25rem .25rem}
.selwynnav .navbar-nav .dropdown-menu {border-width: 0; border-radius: .5rem; padding: 0;
background-color: rgba(0,0,0,0); color: white; display: block}
.selwynnav .navbar-nav .dropdown-menu>li {background-color:rgba(9,46,110,.76);  }
.selwynnav .navbar-nav .dropdown-menu>li:first-child{padding-top: 15px;border-top-left-radius: 10px;border-top-right-radius: 10px; }
.selwynnav .navbar-nav .dropdown-menu>li:last-child{padding-bottom: 15px;border-bottom-left-radius: 10px;border-bottom-right-radius: 10px; }

.selwynnav li.current-page-parent>a, .selwynnav li.current_page_item>a {color:rgba(255,255,255,0.7) !important}

.selwynnav .dropdown-item {color: white; padding: .5rem 1.5rem}
.selwynnav .dropdown-toggle::after {vertical-align: .125rem}
.selwynnav .dropdown-item:focus, .selwynnav .dropdown-item:hover, .selwynnav li.current-menu-item>.dropdown-item {background-color:rgba(255,255,255,0.125) }

li#menu-item-136 {margin:0 15px 30px 0}
li#menu-item-136>a.nav-link {background-color: white; color:#6883b2; border-radius: 20px; font-weight: bold; position: relative; padding: 6px 1rem 4px; line-height: 2}
li#menu-item-136>a.nav-link::before{content: "|"; display: inline-block; margin-right: 10px; margin-top: -2px; width: 24px; height: 24px; vertical-align: middle; background:#6883b2; color: white;line-height: 24px;text-align: center;border-radius: 12px; font-weight: bold; font-size: .75em} */

section[class^="sec-"] {position: relative; padding: 50px 0}
section[class^="sec-"] img {max-width: 100%; height: auto}
section.sec-faculty {padding-top: 0; margin-top: -50px}
.sec-topper {height: 100vh; min-height: 480px}
.page-id-66 .sec-topper  {height: 65vh}
.page-id-5568 .sec-topper  {height: 320px; min-height: auto}
.page-home .sec-topper {overflow: hidden; padding: 0; font-size: 1.25em; position: relative}

.page-home .sec-topper::before {content: ""; display: block; width: 100%; height: 100%; position: absolute; z-index: -2;background: url(img/SelwynInClass.jpg) 50% 50% no-repeat; background-size: cover; top:0; left:0; right: 0; bottom: 0 }

.single .sec-topper {height: 50vh; min-height: 320px;}
.sec-topper>figure {background: rgba(0,0,0,.42); margin: 0; padding: 0 15px; text-align: center; color: white}
.page-home .sec-topper>figure {text-align: left}
.sec-topper>figure h1 {text-transform: uppercase; margin-bottom: -15px; line-height: 1.1; font-size: 2.5em}
.sec-topper>figure .banneroverlay h1 {font-size: 1.8em; line-height:1}
.sec-topper>figure h3 {margin:20px 0 0; line-height: 1.2}

a#scrolldown {display: block;width: 100px; height: 55px; position: absolute; bottom: 30px; left:50%; margin-left: -50px; background: url(img/icon_scrolldown.png) 50% 50% no-repeat; background-size: contain; z-index: 11}
.single .sec-topper h1 {padding-top: 80px}

.abs {position: absolute; top:0;left:0; right: 0; bottom: 0}


.video-container {
position: relative;
padding-bottom: 56.25%;
height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.zeropadding {padding:0 }

.carousel-item {padding-bottom: 50%}

.carousel-indicators.selwyncar { position: relative; display: block;padding: 5px; margin: 0 -10px; list-style: none; text-align: center; font-size: 0; left: auto; bottom: auto; right: 0;}
.carousel-indicators.selwyncar>li {height: auto; display: inline-block;cursor: pointer; width: calc(25% - 10px); margin: 5px; padding-bottom: calc(25% - 10px)}
.carousel-indicators.selwyncar>li.active{opacity: 0.5;}
.carousel-control-next, .carousel-control-prev {opacity: .9}
.carousel-control-next-icon, .carousel-control-prev-icon {width: 32px; height: 32px; background-size: contain; }
.carousel-control-next-icon {background-image: url(img/icon_arrow_right.png)}
.carousel-control-prev-icon {background-image: url(img/icon_arrow_left.png)}

.bio-wrapper {padding: 10px 10% 10%}
.bio {padding-bottom: 100%;border-radius: 50%; margin:0}
.bio-inner  {line-height: 1.8}
.bio-inner p {margin-bottom: 20px}
.bio-inner h6 {margin-bottom: 0; text-transform: uppercase}

ul.bio-ul {padding: 0; margin:0 0 30px; font-size: 0; list-style: none}
ul.bio-ul>li { font-size: 1rem}
ul.bio-ul>li .bio {border-radius: 50%}

.selwynform {margin-bottom: 50px; position: relative}
.selwynform input {width: 100%; padding: 8px 20px;  border: #e1e1e1 1px solid; border-radius: 10px; color: #636466; line-height: 1.5}
.selwynform input[type="submit"] {width: 18px; height: 18px; position: absolute; top:50%; margin-top: -9px; right: 10px; z-index: 3; cursor: pointer;  border-width: 0; border-radius: 0;  background: white url(img/icon_mag.png) 50% 50% no-repeat; background-size: contain;}

select#cat, select#my_tags {
-webkit-appearance: none; 
-moz-appearance: none;
appearance: none;       
padding: 8px 20px; 
width: 100%;
border: #e1e1e1 1px solid; border-radius: 10px; color: #636466; line-height: 1.5;
font-weight: normal;
background:white url(img/icon_dropdown.png) 98% 50% no-repeat;
background-size: 24px auto;
margin-bottom: 30px
}


.page-id-33 .sec-main {text-align: center; background: url(img/bk_pattern_01.jpg) 50% 50% no-repeat; background-size: cover; padding: 50px 0}
.page-id-33 .sec-main h4 {color: var(--blue); margin-bottom: 30px}

.page-id-33 .sec-main ul {padding: 0; margin: 0; list-style:none; font-size: 0}
.page-id-33 .sec-main ul>li {display: inline-block; font-size: 1rem; width: 50%; vertical-align:top; line-height: 1.2; margin-bottom: 30px;}
.page-id-33 .sec-main ul>li img {height: 70px; width: auto}
.page-id-33 .sec-main ul>li strong {display: block; font-size: 2.5em; color:var(--blue); padding-top: 10px; margin-bottom: -20px; line-height: 1; }



.sec-indexed h3 {color: var(--blue) }

.subnav-block {background: var(--blue); color: white; text-align: center}
.page-id-19 .subnav-block.myindex-2, .page-id-11 .subnav-block.myindex-1 {background: white url(img/bk_pattern_01.jpg) 50% 50% no-repeat; background-size: cover}
.subnav-block h4 {margin-bottom: 30px}
.subnav-block h4>strong {color: white}
.page-id-19 .subnav-block.myindex-2 h4, .page-id-19 .subnav-block.myindex-2 h4>strong,
.page-id-11 .subnav-block.myindex-1 h4, .page-id-11 .subnav-block.myindex-1 h4>strong{color: var(--blue)}
.subnav-block ol {padding: 0; margin: -5px; list-style: none; font-size: 0}
.subnav-block ol>li {display: inline-block; font-size: 1rem; width: 100%; padding:5px; vertical-align: middle}
.subnav-block ol>li>p {display: none}
.subnav-block ol>li>div.wp-caption {width: 100% !important; margin: 0; padding: 0; position: relative; background-color:var(--blue)}
.subnav-block ol>li>div>a {display: block}
.subnav-block ol>li>div>a>img {width: 100%; height: auto;
-webkit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
-ms-transition: all 0.25s ease-in-out;
-o-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;
}
.subnav-block ol>li>div>a:hover>img {opacity: 0.25}
.subnav-block ol>li>div.wp-caption p.wp-caption-text {position: absolute; z-index: 11;text-align: center; width: 100%; height: 100%;top:0; left:0; pointer-events: none; display: flex; align-items: center; justify-content: center; line-height: 1.4; font-size: 1em; font-weight: bold; text-transform: uppercase; background: rgba(0,0,0,.42); padding: 15px;}
.subnav-block ol>li>div.wp-caption p.wp-caption-text b, .subnav-block ol>li>div.wp-caption p.wp-caption-text i, .subnav-block ol>li>div.wp-caption p.wp-caption-text del {display: block; font-style: normal; text-decoration: none}
.subnav-block ol>li>div.wp-caption p.wp-caption-text i {font-weight: normal; text-transform: none; font-size: 0.9em; margin-top: 15px; display: none}
.subnav-block ol>li>div.wp-caption:hover p.wp-caption-text i {display: block}
.subnav-block ol>li>div.wp-caption p.wp-caption-text b {font-size: 1.25em;}

.overlay.active {background: rgba(0,0,0,.42); padding: 100px 0; margin: -50px 0; color: white}

.fimg {padding-bottom: 60%}
.shorts {padding: 30px 15px; text-align: center}
.sec-recentposts .shorts {text-align: left}
.sec-recentposts .shorts h5 { color: #6883b2; font-weight: bold}
.shorts p {margin-bottom: 15px}
.wrapper-single {margin-bottom: 30px; line-height: 1.7; font-size: .85em}

.alumnislider .wrapper-single {margin: 0 10px; background: white}

ul.postnavwrapper {padding: 0; margin: 0; list-style: none; text-align: center}
ul.postnavwrapper>li {display: inline-block;}

ul.postnavwrapper>li>a {display:block; padding: 5px 0; width: 150px; border-radius: 15px; background:var(--red); color: white;
font-weight: bold; font-size: 1.1em;
-webkit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
-ms-transition: all 0.25s ease-in-out;
-o-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;}
ul.postnavwrapper>li>a:hover {color: white; background-color:var(--blue); text-decoration: none}

p.mydate { margin: -30px 0 40px}

.siblingnav {background: #ebebeb; text-align: center}
.siblingnav ul {padding: 0; margin: 0; font-size: 0; list-style: none}
.siblingnav ul>li {display: inline-block; font-size: 1rem}
.siblingnav ul>li>a {display: block; padding: 20px 15px; color: var(--blue); position: relative}
.siblingnav ul>li:first-child>a {text-transform: uppercase; font-weight: bold; letter-spacing: 2px; font-size: 1.1em}
.siblingnav ul>li.current_page_item>a::after {content: "";
width: 0;
height: 0;
border-style: solid;
border-width: 0 15px 15px 15px;
border-color: transparent transparent #ffffff transparent;
position: absolute;
bottom: -2px; left:50%; margin-left: -15px;
}

.page-id-29 .sec-main h4 {color:var(--blue) }
.page-id-29 .sec-main img.wp-image-297 {margin: 50px auto}

.selwynfaqs .card {border: 1px solid var(--blue); margin: 20px 0}
.selwynfaqs .card-header {border-bottom-width: 0; background-color: rgba(0,0,0,0) }
.selwynfaqs .card-body {padding: 0 3rem 0 2rem; color: #636466; margin-bottom: -1rem; line-height: 1.6 }
.selwynfaqs .card-header .btn-link {font-weight:normal; text-transform: uppercase; color: var(--blue); background:rgba(0,0,0,0) url(img/icon_dropdown.png) 100% 50% no-repeat; background-size: 20px auto; width: 100%}
.selwynfaqs .card-header .btn-link[aria-expanded="true"]  {background-image: url(img/icon_dropup.png)}


.selwynfaqs .card-header .btn-link:hover, .selwynfaqs .card-header .btn-link.active, .selwynfaqs .card-header .btn-link:visited, .selwynfaqs .card-header .btn-link:focus {text-decoration: none}
.selwynfaqs .card-header .btn {white-space: normal; text-align: left; font-size: .8em}


.page-id-23 .sec-main pre {margin-top: -1.5rem}

.page-id-31 .myindex-1, .page-id-31 .myindex-2 {padding: 0}

.page-id-31 .myindex-1 .inner h4, .page-id-31 .myindex-2 .inner h4 {color: var(--blue); margin-bottom: 10px}
.page-id-31 .sec-main {padding-bottom: 50px}
.page-id-31 .myindex-3 {padding-top: 0}
.page-id-31 .myindex-4 h2 {color: white}

.page-id-27 .sec-main {padding-bottom: 0}
.page-id-27 .myindex-1 {text-align: center; padding: 0}
.page-id-27 .myindex-1 ul {padding: 0; margin: 0; list-style: none; font-size: 0}
.page-id-27 .myindex-1 ul>li {font-size: 1rem; display: inline-block; width: 50%; padding: 10px 2%; line-height: 1.2; vertical-align: top}
.page-id-27 .myindex-1 ul>li>strong, .page-id-27 .myindex-1 ul>li>em {display: block; font-weight: normal; font-style: normal}
.page-id-27 .myindex-1 ul>li>strong {font-size: 1.35em; color:var(--blue); margin-bottom: 30px }
.page-id-27 .myindex-1 ul>li>em {padding: 10px; border:1px solid #d7d7d7; margin-top: 10px; border-radius: 10px; }

.page-id-27 .myindex-1 ul>li>em>strong {display: block; font-size: 1.5em}

.page-id-27 .myindex-2 h4 {color: var(--blue)}
.page-id-27 .myindex-2 ol {padding: 0; margin: 30px 0; list-style:none; text-align: center; font-size: 0}
.page-id-27 .myindex-2 ol>li {display: inline-block; font-size: 1rem; padding: 5px 20px; margin: 5px 5%; border-radius: 5px; line-height: 1.6; border:1px solid #d7d7d7;  }
.page-id-27 .myindex-2 ol>li>strong {font-size: 1.5em}
.page-id-27 .myindex-2 {padding-bottom: 0}
.page-id-27 .myindex-3 {padding: 0}
.page-id-27 .myindex-3 ul {padding: 0; margin: 0; list-style: none; font-size: 0; text-align: center}
.page-id-27 .myindex-3 ul>li {font-size: 1rem; display: inline-block; vertical-align: top; margin: 10px 0}
.page-id-27 .myindex-3 ul>li>strong, .page-id-27 .myindex-3 ul>li>em {display: block; font-style: normal}
.page-id-27 .myindex-3 ul>li>strong {color: var(--blue); font-size: 1.5em}
.page-id-27 .myindex-3 ul>li>em {padding: 15px;  border:1px solid #d7d7d7;border-radius: 10px;}

.page-id-27 .myindex-4 {padding-top: 50px;}
.page-id-27 .myindex-4 ol {padding: 0; margin: 0; list-style: none}
.page-id-27 .myindex-4 ol>li {display: inline-block; padding: 5px 20px; margin: 5px 5%; border-radius: 5px; line-height: 1.6; border:1px solid #d7d7d7;  }
.page-id-27 .myindex-4 ol>li>strong {font-size: 1.5em}

.page-id-19 .myindex-1 h3 { color: white; font-family: var(--font)!important; font-size: 2em; letter-spacing: normal; line-height: 1.2; margin-bottom: 2rem}

.page-id-19 .myindex-4 {padding: 50px 0}
.page-id-19 .myindex-4 .inner {color: white; font-size: .75em}
.page-id-19 .myindex-4 .inner img { width: 100%; height: auto; margin-bottom: -100px }
.page-id-19 .myindex-4 div {position: static}

.page-id-19 .myindex-4 .inner h3 {letter-spacing: normal;}
.page-id-19 .myindex-4 .inner h3>strong, .page-id-19 .myindex-4 .inner h3 {color: white}
.page-id-19 .myindex-4 .inner hr { width: 100%; margin: 10px 0; border-top-color: white}
.page-id-19 .myindex-4 .inner hr::after {display: none}

.triple-link:not(.sec-main) h2 {color: white; font-size: 2em}
.triple-link:not(.sec-main) h2>strong {font-size: 1.25em}
.triple-link ol {padding: 0; margin: 0; list-style: none}
.triple-link ol>li:not(:last-child) { margin-bottom: 10px}
.triple-link ol>li pre {margin-bottom: 0}
.page-id-57 .triple-link ol>li pre {margin-bottom: 3rem}
.triple-link ol>li a {min-width: 180px; text-align: center}
.triple-link ol>li:first-child a {background-color:#6883b2 }
.triple-link ol>li:last-child a {background-color:var(--blue) }
.triple-link ol>li:first-child a:hover, .triple-link ol>li:last-child a:hover {background-color:var(--red); }


.page-id-11 .sec-main h2>strong {font-size: 1.5em; color: #6883b2}
.page-id-11 .sec-main h4, .page-id-11 .sec-main h4.strong {letter-spacing: 4px; color: var(--blue); font-size: 1.5em}
.page-id-11 .sec-main h4 {margin: 50px 0 30px}

.multiple-btn  ol {padding: 0; margin: 0; list-style: none; text-align: center}
.multiple-btn  ol>li {display: inline-block; padding: 0 3%}
.multiple-btn  ol>li pre {margin-bottom: 0}
.page-id-17 .myindex-1 {padding-top: 0}
.page-id-17 .sec-faculty {padding-bottom: 0}
.page-id-17 .myindex-1 strong {font-size: 1.2em} 


.page-id-51 .sec-main h4 {color:#092e6e }

.page-id-53 .sec-main {padding-bottom: 0}

.page-id-55 .sec-main pre {margin: 10px 0}

.page-id-55 .myindex-1 {background: #ebebeb}
.page-id-55 .myindex-1 .inner {background: white; margin-top: 100px; padding:30px; position: relative; line-height: 1.6}
.page-id-55 .myindex-1 .inner img { margin: 30px 0}
.page-id-55 .myindex-1 h2 {position: absolute; width: 100%; text-align: center; margin-top: -150px; left:0}
.page-id-55 .myindex-1 .inner pre {margin: 0; position: absolute; right: -10px; bottom: -10px;}
.page-id-55 .myindex-1 .inner p {margin-bottom: 0}
.page-id-55 .myindex-1 .inner h4, .page-id-55 .myindex-3 .inner h4, .page-id-55 .myindex-4 .inner h4 {color: var(--blue)}
.page-id-55 .myindex-4  {margin-top: -100px}

.alumnislider a.read-more {margin-bottom: 0}


.page-id-66 .sec-main ol {padding: 0; margin: 0; list-style: none; text-align: center; font-size: 0}
.page-id-66 .sec-main ol>li {line-height: 1.6; font-size: 1rem }
.page-id-66 .sec-main ol>li img {width: 120px; height: auto; margin-bottom: 15px}
.page-id-66 .sec-main ol>li:not(:last-child) {margin-bottom: 30px;}

#gmap { width:100%; min-height:240px; padding-bottom: 35%;}
.scrolloff { pointer-events: none;}


.page-id-57 .myindex-1 {background-color:var(--blue); color: white }
.page-id-57 .myindex-1 h2, .page-id-57 .myindex-1 h2>strong { color: white}
.page-id-57 .myindex-2 ol {padding: 0; margin: 0 0 -30px; list-style: none; text-align: center; font-size: 0}
.page-id-57 .myindex-2 ol>li {margin-bottom: 30px; font-size: 1rem}
.page-id-57 .myindex-2 ol>li img {width: 120px; height: auto; margin-bottom: 20px}

.page-id-57 .myindex-3 {background: #ebebeb}

.page-id-9 .sec-main h2>strong {font-size: 1.25em; color:#6883b2 }
.page-id-9 .myindex-1 h3, .page-id-9 .myindex-3 h2{ color: white}

.page-id-9 .myindex-1 h3 {font-size: 1.5em}


.page-id-9 .myindex-2  {padding-bottom: 50%; position: relative; border: 1px solid var(--blue); background: var(--blue); font-size: .35em }
.page-id-9 .myindex-2 h4, .page-id-9 .myindex-2 h4>strong, .page-id-9 .myindex-2 h3, .page-id-9 .myindex-2 p {color: white; }
.page-id-9 .myindex-2 h4, .page-id-9 .myindex-2 h4>strong {letter-spacing: normal}

.page-id-9 .myindex-2 pre>a {color:var(--blue) !important; background-color: white }

.page-id-9 .myindex-2 div, .page-id-9 .myindex-2 article.inner {position: static}
.page-id-9 .myindex-2 .abs>div { width:16.6666666666667%; border: 1px solid var(--blue);
position: absolute; background-size: cover; background-position: 50% 50%; background-repeat: no-repeat}
.page-id-9 .myindex-2 .abs>div h4 {padding: 5px; margin: 0; line-height: 1.1}
#grid-1 { height: 40%; left:0; top:0}
#grid-2 { height: 80%; left:16.6666666666667%; top:0}
#grid-3 {width: 50%; height: 20%; left:33.333333333%; top:0}
#grid-4 {height: 20%; top:0; right: 0}
#grid-5 {height: 60%; left:0; bottom: 0}
#grid-6 {height: 60%; top:20%; right: 16.6666666666667%}
#grid-7 {height: 80%; right: 0; bottom: 0}
#grid-8 {height: 20%; width: 66.6666666666667%; bottom: 0; left:16.6666666666667%}
#grid-9 {width: 33.33333333333%; height: 60%; top:20%; left:33.33333333333%; font-size: 1.25em}

.page-id-9 .myindex-2 .abs div>a {position: absolute; top:0; left:0; right: 0; bottom: 0;}
.innercopy {padding:0 8%}
.innercopy pre {margin-bottom: 0}
.innercopy pre>a:hover {background-color:var(--red)}
.innercopy h3 {line-height: 1.2}
.innercopy h3 strong {font-size: 1.25em}
.innercopy p {display: none; margin-bottom: 1.5rem}
.page-id-9 .myindex-2 .abs div>a:hover {background: rgba(0,0,0,.6);}


.sec-topper video {
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
z-index: -1
}

.page-id-9 .myindex-4 h3>strong {color:#6883b2 }

ul#upcomingevents {padding: 0; margin: 50px -15px 0; font-size: 0; list-style: none}
ul#upcomingevents>li {font-size: 1rem;padding: 0 15px;}
ul#upcomingevents>li h4 {color:var(--red); font-weight: bold; text-transform: uppercase; font-size: 1.5em}
ul#upcomingevents>li:first-child h4 {font-size: 2em; line-height:.8}
ul#upcomingevents>li:first-child {width: 100%; display: block; margin-bottom: 50px }
ul#upcomingevents>li:first-child::after {content: ""; display: table; clear: both}
ul#upcomingevents>li:first-child div.fimg-event {padding-bottom: 30%; width: 40%; float: left; margin-right: 30px}
ul#upcomingevents>li:not(:first-child) {width: 50%;  display: inline-block; vertical-align: top; margin-bottom: 30px}
ul#upcomingevents>li:not(:first-child) .fimg-event, ul#upcomingevents>li:not(:first-child) a.read-more {display: none}
ul#upcomingevents p {margin-bottom: 10px}
ul#upcomingevents  a.read-more {margin: 0 auto}


span.quform-popup-link.quform-popup-link-3 {display: none}

.banneroverlay {font-size: .75em; padding-top: 50px}
.banneroverlay pre {margin: 30px 0 0}

.page-id-15 .sec-topper.coverbk {background-position: 100% 50%}

.tooltip {margin-top: -5px}

body [id*=give-form].give-fl-form .give-fl-wrap {width: 100%}

section[class^="sec-"] .inner a {color: var(--red); font-weight: bold }
h4#international {padding-top: 120px; margin-top: -120px;}

.selwynfooter {background: #e1e1e1; padding: 50px 0; text-align: center;}
.selwynfooter ul {padding: 0; margin: 0; font-size: 0; list-style:none}
.selwynfooter ul>li {font-size: 1rem; line-height: 1.4 }
.selwynfooter ul>li:not(:last-child) {padding-bottom: 30px}
.selwynfooter ul>li img {width: 100%; height: auto; max-width: 200px}


#ajax-posts>div {display: none}
#ajax-posts>div:nth-child(1), #ajax-posts>div:nth-child(2),#ajax-posts>div:nth-child(3),
#ajax-posts>div:nth-child(4), #ajax-posts>div:nth-child(5),#ajax-posts>div:nth-child(6),
#ajax-posts>div:nth-child(7), #ajax-posts>div:nth-child(8),#ajax-posts>div:nth-child(9) {display: block}

#more_posts{text-align: center}
#more_posts>span {cursor: pointer; display: block; padding: 10px 0; border:1px solid var(--red); border-radius: 10px; color:var(--red); font-weight: bold; font-size: 1.1em  }

.sec-recentposts {background: url(img/bk_pattern_01.jpg) 50% 50% no-repeat}
.sec-recentposts .wrapper-single {background: white; position: relative; padding-bottom: 30px; margin-bottom: 50px;}
.sec-recentposts h2 {margin-bottom: 30px; font-size: 2em}
.sec-recentposts h2 b {color: #6883b2}
.sec-recentposts a.read-more{ position: absolute; bottom: -50px; width: 150px; left:50%; margin-left: -75px;}

 
a.bigbtn {padding: 5px 0; border:1px solid var(--red); border-radius: 15px; color:var(--red); font-weight: bold; font-size: 1.1em; display: inline-block; width: 80%; margin: 30px auto }

.modal-backdrop.show {opacity: 0.9;}
.modal-content {border-radius: 20px;text-align: center; line-height: 1.6 }
.modal-content strong {display: block; color: rgba(9,46,110,1); }
.modal-content p {margin-bottom: 20px}
.modal-body {padding: 30px}
.modal-content button.close {position: absolute; right: 20px; top:10px; z-index: 10}
span.modaltrigger {position: absolute; z-index: -1; font-size: 0}

ol.shopping-btns {padding: 0; margin: 0; list-style: none; text-align: center}
ol.shopping-btns>li {padding:10% 15%}
ol.shopping-btns>li img {max-width: 100%; height: auto}


#myVideoModal .modal-content {background-color: rgba(0,0,0,0); border-width: 0}
#myVideoModal .modal-body {padding: 0}

#mySummerCampModal .modal-dialog {max-width: 860px}
#mySummerCampModal .modal-content {text-align: left}

.page-id-5568 .sec-main {padding-bottom: 0; margin: -50px 0; }

.page-id-5568 .sec-main ol {padding: 0; margin: 15px 0; list-style: none; text-align: center}
.page-id-5568 .sec-main ol>li {margin: 15px 0; font-size: 2em; letter-spacing: 5px;color:var(--blue); line-height: 1.5}


.page-id-5568 .sec-topper.coverbk {background-position: 50% 10% !important}

.page-id-5568 .selwynnav, .page-id-5568 .selwynfooter, .page-id-5568 footer {display: none}

footer {background: var(--blue); padding: 30px 0; font-size: .75em}
footer a, footer a:hover {color: white}
footer ol, footer ul {padding: 0; margin:0; list-style:none; text-align: center;}
footer ul {margin: 0 -10px 20px}
footer ul>li {display: inline-block;padding: 0 10px; line-height: 1}
footer ul>li:not(:last-child) {border-right: 1px solid white}
footer ol>li {display: inline-block; margin:0 auto; width: 36px;}
footer ol>li img {width: 100%; height: auto}


/*QUFORM Stuff*/

.inner .quform .quform-field-captcha, 
.inner .quform .quform-field-date, 
.inner .quform .quform-field-email, 
.inner .quform .quform-field-file, 
.inner .quform .quform-field-multiselect, 
.inner .quform .quform-field-password, 
.inner .quform .quform-field-select, 
.inner .quform .quform-field-text, 
.inner .quform .quform-field-textarea, 
.inner .quform .quform-field-time, 
.inner .quform .select2-container--quform .select2-selection
{border:1px solid #e1e1e1; padding: 10px 20px; color:#636466; border-radius: 5px;}

input[name="post_password"]
{border:1px solid #e1e1e1; padding: 5px 10px; color:#636466; border-radius: 5px; margin: 0 10px}

.inner form label.pass-label {color: #ed2024}


.inner form label {margin: 0; color:#636466; }


.inner .quform-element-group.quform-group-style-bordered>.quform-spacer, 
.inner .quform-group-style-bordered>.quform-child-elements, 
.inner .quform-spacer {margin-bottom: 5px;padding-bottom: 5px;}


.inner .quform-element-row, 
.inner .quform-options-columns {margin: 0 -5px}

.inner .quform-element-column, 
.inner .quform-options-columns>.quform-option {padding: 0 5px}


.inner select {
   -webkit-appearance: none;
   -moz-appearance:    none;
   appearance:         none;
   border-radius: 0;
	background-color: white;
   background-image: url(img/icon_dropdown.png); background-position: 98% 50%; background-repeat: no-repeat; background-size: 18px auto;
}

.inner .quform-button-back-default, 
.inner .quform-button-next-default, 
.inner .quform-button-submit-default {float:none; text-align: center}

input[type="submit"] {padding: 6px 25px; cursor: pointer}

.inner .quform-element-submit button, input[type="submit"]{background: #ed2024; border-width: 0; color: white; font-weight: bold; border-radius: 5px; margin: 0 auto;
-webkit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
-ms-transition: all 0.25s ease-in-out;
-o-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;}
.inner .quform-element-submit button:hover {color: white; background-color:var(--blue);}

.inner  .quform-button-back-default>button, 
.inner  .quform-button-next-default>button, 
.inner  .quform-button-submit-default>button {padding: 12px 40px}

.inner .quform-element-1_18, .inner .quform-element-1_19, .inner .quform-inner-1_16 {margin-top: 20px}
.inner .quform-label-1_17, .inner .quform-label-2_15, .inner .quform-label-2_16 {display: none}


body .quform-magnific-popup .mfp-content .quform {max-width:860px; padding: 60px 4% 4%}

body .quform-option .quform-option-label {width: 90%; font-size: .85em; padding-left: 6px}

body .quform-option {margin: 10px 0}

.quform.quform-3 .quform-field-captcha, 
.quform.quform-3 .quform-field-date, 
.quform.quform-3 .quform-field-email, 
.quform.quform-3 .quform-field-file, 
.quform.quform-3 .quform-field-multiselect, 
.quform.quform-3 .quform-field-password, 
.quform.quform-3 .quform-field-select, 
.quform.quform-3 .quform-field-text, 
.quform.quform-3 .quform-field-textarea, 
.quform.quform-3 .quform-field-time, 
.quform.quform-3 .select2-container--quform .select2-selection
{border:1px solid #e1e1e1; padding: 10px 20px; color:#636466; border-radius: 5px;}

.quform.quform-3 form label {margin: 0; color:#636466; }


.quform.quform-3 .quform-element-group.quform-group-style-bordered>.quform-spacer, 
.quform.quform-3 .quform-group-style-bordered>.quform-child-elements, 
.quform.quform-3 .quform-spacer {margin-bottom: 5px;padding-bottom: 5px;}


.quform.quform-3 .quform-element-row, 
.quform.quform-3 .quform-options-columns {margin: 0 -5px}

.quform.quform-3 .quform-element-column, 
.quform.quform-3 .quform-options-columns>.quform-option {padding: 0 5px}


.quform.quform-3 select {
   -webkit-appearance: none;
   -moz-appearance:    none;
   appearance:         none;
   border-radius: 0;
	background-color: white;
   background-image: url(img/icon_dropdown.png); background-position: 98% 50%; background-repeat: no-repeat; background-size: 18px auto;
}

.quform.quform-3 .quform-button-back-default, 
.quform.quform-3 .quform-button-next-default, 
.quform.quform-3 .quform-button-submit-default {float:none; text-align: center}

.quform.quform-3 .quform-element-submit button {background: #ed2024; border-width: 0; color: white; font-weight: bold; border-radius: 5px; margin: 0 auto;
-webkit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
-ms-transition: all 0.25s ease-in-out;
-o-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;}
.quform.quform-3 .quform-element-submit button:hover {color: white; background-color:var(--blue);}

.quform.quform-3  .quform-button-back-default>button, 
.quform.quform-3  .quform-button-next-default>button, 
.quform.quform-3  .quform-button-submit-default>button {padding: 12px 40px}

.quform.quform-3 .quform-element-1_18, .quform.quform-3 .quform-element-1_19, .quform.quform-3 .quform-inner-1_16 {margin-top: 20px}
.quform.quform-3 .quform-label-3_14{display: none}

h5.quform-form-title {margin-bottom: 2rem; text-align: center; color: #636466}
h2.quform-form-title {letter-spacing: normal; text-transform:uppercase; font-size: 1.25em; margin: 30px 0}


.quform-label-6_30, .quform-label-6_33 {padding: 10px 0}
.quform-6 .quform-element-row, .quform-6 .quform-options-columns {margin: 0 -5px !important}

.quform-6 h3, .quform-6 h5 {color: #1d3667}
.quform-6 h3 {margin: 30px 0 -20px}
.quform-6 h5 {margin: 20px 0}
.quform-6 .quform-form-title-description {display: none}
.quform-6 ol {padding-left: 30px}

/*Giving Form */

.inner #give-recurring-form .form-row label, 
.inner form.give-form .form-row label, 
.inner form[id*=give-form] .form-row label,
.inner [id*=give-form] .give-form-title,
.inner legend
{display: none}


.inner form[id*=give-form] #give-final-total-wrap {display: none}


.inner .give-submit-button-wrap {text-align: center}
.inner .give-submit-button-wrap .give-submit, [id^=give-user-login-submit] .give-submit {display: inline-block; float: none; margin: 30px auto 0; }
.inner .give-btn {padding: 10px 50px; border-radius: 15px; background:var(--red); color: white;font-weight: bold; font-size: 1.1em;
	border-width: 0;
-webkit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
-ms-transition: all 0.25s ease-in-out;
-o-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;}
.inner .give-btn:hover {color: white; background-color:var(--blue); text-decoration: none}


#give-recurring-form .form-row input[type=email], #give-recurring-form .form-row input[type=password], #give-recurring-form .form-row input[type=tel], #give-recurring-form .form-row input[type=text], #give-recurring-form .form-row input[type=url], #give-recurring-form .form-row select, #give-recurring-form .form-row textarea, form.give-form .form-row input[type=email], form.give-form .form-row input[type=password], form.give-form .form-row input[type=tel], form.give-form .form-row input[type=text], form.give-form .form-row input[type=url], form.give-form .form-row select, form.give-form .form-row textarea, form[id*=give-form] .form-row input[type=email], form[id*=give-form] .form-row input[type=password], form[id*=give-form] .form-row input[type=tel], form[id*=give-form] .form-row input[type=text], form[id*=give-form] .form-row input[type=url], form[id*=give-form] .form-row select, form[id*=give-form] .form-row textarea,
.inner input#give-amount
{ color:#636466 !important; border-radius: 10px !important; border-width: 0 !important; line-height: 1.4 !important; padding: 10px 20px !important }

.inner input#give-amount {width: 100%; height: auto !important}
.inner form[id*=give-form] .give-donation-amount .give-currency-symbol.give-currency-position-before {display: none}


/*
::-webkit-input-placeholder { text-transform: uppercase;}
::-moz-placeholder { text-transform: uppercase;} 
:-ms-input-placeholder { text-transform: uppercase;} 
input:-moz-placeholder { text-transform: uppercase;}*/


/* slick Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

/* Slider */
.slick-loading .slick-list
{
    background: #fff url('img/ajax-loader.gif') center center no-repeat;
}

/* Arrows */
.slick-prev,
.slick-next
{
    font-size: 0;
    line-height: 0;

    position: absolute;
    top: 50%;

	z-index: 11;
    display: block;

    width: 32px;
    height: 32px;
	background-size:contain; background-position: 50% 50%; background-repeat: no-repeat; background-color: transparent;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);

    cursor: pointer;

    color: transparent;
    border: none;
    outline: none;
}
.slick-prev {background-image: url(img/icon_arrowleft.png)}
.slick-next {background-image: url(img/icon_arrowright.png)}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{

}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before
{
    opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before
{
    opacity: .5;
}

.slick-prev:before,
.slick-next:before
{  display: none;}

.slick-prev
{
    left: 0;
}
[dir='rtl'] .slick-prev
{
    right: -25px;
    left: auto;
}
.slick-prev:before
{
    content: '←';
}
[dir='rtl'] .slick-prev:before
{
    content: '→';
}

.slick-next
{
    right: 0;
}
[dir='rtl'] .slick-next
{
    right: auto;
    left: -25px;
}
.slick-next:before
{
    content: '→';
}
[dir='rtl'] .slick-next:before
{
    content: '←';
}

/* Dots */
.slick-dotted.slick-slider
{
    margin-bottom: 30px;
}

.slick-dots
{
    position: absolute;
    bottom: -25px;

    display: block;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;

    text-align: center;
}
.slick-dots li
{
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 20px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: black;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before
{
    opacity: .75;
    color: black;
}

/* slick Slider */


/*correct google conversion tracking tag generated iframe height issue*/
iframe[name='google_conversion_frame'] { 
height: 0 !important;
width: 0 !important; 
line-height: 0 !important; 
font-size: 0 !important;
margin-top: -13px;
float: left;
}


/*
Mobile first queries : Extra small devices (portrait phones, less than 576px) No media query as defaulted in Bootstrap

xs  < 576
sm  : 576 - 767
md  : 768 - 991
lg  : 992 - 1199
xl  > 1200

*/

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
	
h2 {font-size: 1.75em; letter-spacing: 2px; margin-bottom: 1.5rem;}
h3 {font-size: 2em}
.subnav-block ol>li {width: 50%;}
.page-id-9 .myindex-2 {font-size: .7em}
footer  {font-size: 1em}
.selwynfaqs h2 {font-size: 1.5em}
.sec-topper>figure h1 {font-size: 2.75em}
.sec-topper>figure .banneroverlay h1{ font-size: 2em}	
#myVideoModal .modal-dialog {max-width: 960px}
body .modal-dialog {max-width: 600px}
} /*576px closed*/


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

body {font-size:1.15em;line-height:2;}

.tooltip {display: none }
#topper article ul>li>a {background-position: 10px 50%; }
#topper article ul>li>a:hover {background-position: 10px 40%}
	
h1, .sec-topper>figure h1 {font-size: 3em}
	
.sec-topper>figure .banneroverlay h1 {font-size: 3.25em}


h2 {font-size: 2.5em; letter-spacing: 5px; margin-bottom: 2rem;}
.selwynfaqs h2 {letter-spacing: 1px;}
h2.singletitle {font-size: 2em; margin: 50px 0 30px}
h3{font-size: 1.75em}
.singleinner h3 {font-size: 1.5em}
h4 {font-size: 1.35em}
h5 {font-size: 1.25em}
h6 {font-size: 1.25em}
	
ul,ol {padding: 0 0 0 20px; line-height: 2}
p {margin-bottom: 3rem}
	
ul#upcomingevents>li h4 {font-size: 2.5em}
ul#upcomingevents>li:first-child h4 {font-size: 3em;}
	
.selwynfooter {text-align: left}
.selwynfooter ul>li {display:inline-block; width: 50%; padding: 0; vertical-align: middle}
.selwynfooter ul>li {padding-bottom: 30px}
	
.triple-link:not(.sec-main) h2 {font-size: 3em}
pre>a, a.read-more {padding: 6px 25px; border-radius: 15px; margin-bottom: 0 }
	
.page-id-9 .myindex-2 .abs div>a { padding: 0 15px}	
.page-id-9 .myindex-2 {font-size: .65em}
#topper article ul>li>a {color: white; background-size: 24px auto; text-indent:0}
	
.page-id-19 .myindex-1 h3 { font-size: 3em;}

footer ol, footer ul {text-align: left; display: inline-block; vertical-align: middle; margin-bottom: 0}
footer ol {float: right}

.abs-sm {position: absolute; top:0; left: 0; right: 0; bottom: 0}
.triple-link ol>li {display: inline-block; margin-bottom: 0}	
ul.bio-ul>li {display: inline-block; vertical-align: top}
ul.bio-ul>li:first-child {width: 33%}
ul.bio-ul>li:last-child{width: 67%}
	
.selwynform {margin: 0 10% 50px}
	
	
.page-id-9 .myindex-2, .page-id-9 .myindex-2 .abs>div  {border: 2px solid #092e6e}

.page-id-33 .sec-main ul>li {width: 20%; margin-bottom: 0;}
.page-id-33 .sec-main ul>li img {height: 90px}
.page-id-33 .myindex-3 ul {margin-left: 50px}

.page-id-57 .myindex-2 ol>li {display:inline-block; vertical-align: top; width: 50%; padding: 0 5%}
	
.selwynfaqs .card-header .btn {font-size: 1em}
pre {font-size: 110%; }
.page-id-33 .myindex-3 ul {padding-left: 10%}
.page-id-27 .sec-main .inner ol {padding: 0 6% 0 10%}
	
.page-id-39 .sec-main ul, .page-id-41 .sec-main ul {padding-left: 10%}


}/*768px closed*/

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
	
section[class^="sec-"] {padding: 100px 0}
.overlay.active {margin: -100px 0}
	

h1, .sec-topper>figure h1  {font-size: 3.25em}
.sec-topper>figure .banneroverlay h1 {font-size: 3.5em}
h2 {letter-spacing: 10px;}
.selwynfaqs h2 {letter-spacing: 6px;}
h3, .page-id-9 .myindex-1 h3 {font-size: 2.25em}
.sec-indexed h3 {letter-spacing: 5px}
hr {width: 70%}
	
.page-id-55 .myindex-4  { margin-top: -200px}


.sec-recentposts h2 {margin-bottom: 50px; font-size: 3em}

	
.carousel-indicators.selwyncar>li {width: calc(16.6666666666667% - 10px); padding-bottom: calc(16.6666666666667% - 10px)}
	
.subnav-block ol>li {width: 25%;}
.page-id-60 .subnav-block ol>li, .page-id-33 .subnav-block ol>li {width: 33.333333%;}
	
body .quform-option .quform-option-label {width: 95%; font-size: 1em; }


.page-id-27 .myindex-1 ul>li {width: 25%}

.page-id-27 .myindex-3 ul>li { margin: 0; width: 33.3333333%; padding: 0 15px}

.col2 {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
.page-id-19 .myindex-4 .inner {padding-left: 40%; }
.page-id-19 .myindex-4 .inner img {position: absolute; bottom:-2px; left:0; width: 40%; height: auto; margin-bottom: 0}

.triple-link:not(.sec-main) .inner {padding: 0 15%}
.page-id-11 .sec-main .inner ul {padding: 0 15%}
	
.page-id-55 .myindex-1 .inner {padding:30px 30px 30px 25%; }
.page-id-55 .myindex-1 .inner img {position: absolute; width: 20%; height: auto; left:10px; top:10px; margin: 0}
	
.slick-prev{ left: -50px;}
.slick-next{ right: -50px;}
	
.page-id-66 .sec-main {padding: 50px 0}
.page-id-66 .sec-main ol>li {margin-bottom: 0; width: 33.3333333%; vertical-align: top; display: inline-block}

.page-id-9 .myindex-2 {font-size: .85em}
	
ul#upcomingevents>li:not(:first-child) {width: 25%; margin-bottom: 0}
.page-id-57 .triple-link ol>li {padding:0 5%;}
.page-id-19 .myindex-1 .inner {padding: 0 15%}

.page-id-33 .myindex-3 ul {padding-left: 20%}
.video-container {padding-bottom: 45%;width: 80%;margin: 0 auto;}
	
.page-id-27 .sec-main .inner ol {padding:0 10% 0 20%}
	
.page-id-41 .sec-main ul {padding-left: 25%}
.page-id-39 .sec-main ul{padding-left: 15%}

.quform-input-7_16  .quform-options>.quform-option {width: 50%; display: inline-block}
	
.page-id-5568 .sec-main ol>li {display: inline-block; vertical-align: middle; }
.page-id-5568 .sec-main ol>li:first-child {width: 25%; text-align: right; padding-right: 15px;}
.page-id-5568 .sec-main ol>li:last-child {width: 74%; text-align: left}

	
}/*992px closed*/

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) { 
	
h1, .sec-topper>figure h1, .sec-topper>figure .banneroverlay h1 {font-size: 4.25em}
/* .menu-solid .selwynnav  {background: rgba(9,46,110,1);} */
.menu-solid #topper {background:#636466 }
	

/* .selwynnav .navbar-nav .dropdown-menu {text-align: center; padding-top: 30px;  margin: 0; display: none;
left: 50%;
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
transform: translateX(-50%);
} */
/* .selwynnav .navbar-nav .dropdown:hover .dropdown-menu {display: block;}
li#menu-item-136 {margin: 0}
li#menu-item-136>a.nav-link {margin-right: 5px} */
	
.innercopy p {display: block}
	
.overlay.active {padding: 200px 0}

.page-id-9 .myindex-2 {font-size: 1em}
#grid-9 {font-size: 1em}
.page-id-9 .myindex-1 .inner {padding-left: 15%}
.page-id-9 .myindex-3 .inner {padding-left: 20%}
	
.page-id-19 .myindex-4 .inner {padding-left: 30%; }
.page-id-19 .myindex-4 .inner img { width: 30%;}
	
.slick-prev{ left: -80px;}
.slick-next{ right: -80px;}

.selwynfooter ul>li {width: 25%}
.selwynfooter ul>li {padding-bottom: 0 !important}
	
.page-id-33 .myindex-3 ul {padding-left: 25%}

.page-id-41 .sec-main ul {padding-left: 35%}
.page-id-39 .sec-main ul {padding-left: 25%}

} /*1200px closed*/
	
@media (min-width: 1400px) { 
	
/* li#menu-item-136>a.nav-link {margin-right: 25px}
.selwynnav .navbar-nav {margin-right: -1rem}
.navbar-light.selwynnav .navbar-nav .nav-link { padding-left: 1rem; padding-right: 1rem} */

} /*1400px closed*/

@media (min-width: 1600px) { 
	
/* .selwynnav .navbar-nav {margin-right: -2rem}
.navbar-light.selwynnav .navbar-nav .nav-link { padding-left: 2rem; padding-right: 2rem} */

} /*1600px closed*/


/*IE 11 flex box margin auto fix*/
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
.abs .container {
    margin: 0
}
}

/* New button in header to trigger new form modal */
.header-popup-btn-wrapper {
	max-width: 30vw;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

#menu-item-136 {
	display: none;
}

.header-form-modal-btn {
	background-color: white;
    color: #6883b2;
    border-radius: 20px;
    font-weight: bold;
    position: relative;
    padding: 6px 1rem 4px;
    line-height: 2;
/* 	margin-left: 15vw; */
/*     margin-right: 0; */
}

.header-form-modal-btn:before {
	content: "|";
    display: inline-block;
    margin-right: 10px;
    margin-top: -2px;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    background: #6883b2;
    color: white;
    line-height: 24px;
    text-align: center;
    border-radius: 12px;
    font-weight: bold;
    font-size: .75em;
}

@media screen and (max-width: 1750px) {
	.header-popup-btn-wrapper { max-width: 25vw; }
}

@media screen and (max-width: 1625px) {
	.header-popup-btn-wrapper { max-width: 22vw; }
}

@media screen and (max-width: 1599px) {
	.header-popup-btn-wrapper { max-width: 25vw; }
}

@media screen and (max-width: 1220px) {
	.header-popup-btn-wrapper { max-width: 24vw; }
}

@media screen and (max-width: 1199px) {
	.header-popup-btn-wrapper { display: none; }
}


/* New homepage hero background video */
/* .background-video-wrapper {
	padding-bottom: 56.25%
    position: absolute
    width: 100%
    pointer-events: none
    top: 0
}
    
.background-video-wrapper iframe {
	position: absolute
}
 */


 /* NEW */
#header .selwynnav {
	background: linear-gradient(to bottom, var(--blue) 0px, transparent 60px);
}
#mega-menu-wrap-topper #mega-menu-topper>li.mega-menu-item>a.mega-menu-link {
  font-family: var(--font) !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
  font-family: var(--font) !important;
	min-width: 220px;
	text-align: center !important;
}
#header { padding-left: 40px; }
#header a.navbar-brand { margin: 16px 0 0 16px !important; }
.hero::after {
  content: '';
  background: white;
  height: 100%;
  width: 40px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.8;
  z-index: 1000;
}
body::after {
  content: '';
  background: #b80303;
  transform: skew(45deg);
  width: 50px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 20px;
  display: block;
  z-index: 1000;
}

.mega-image-lockup .widget_media_image { padding: 0 !important; }
.mega-image-lockup .widget_media_image img { width: 100%; }
.mega-image-lockup .widget_text {
  height: 66px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #b80303 !important;
}
.mega-image-lockup .widget_text p { 
  display: flex; 
  margin-bottom: 0 !important;
}
.mega-image-lockup .widget_text a {
  color: white;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.48px;
}
.mega-image-lockup .widget_text a img { margin-left: 8px; }

.mega-image-lockup>.mega-sub-menu>.mega-menu-row>.mega-sub-menu { display: flex !important; }
.mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 20px 40px;
  padding: 40px !important;
  height: 100% !important;
}
.mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu li {
  max-width: calc(50% - 20px) !important;
  padding: 0 !important;
}
.mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu li a {
  font-family: var(--font) !important;;
}

@media (min-width: 769px) {
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link .mega-indicator { display: none !important; }
  #header .navbar-brand img.mobile-logo { display: none; }
}

@media (max-width: 1600px) {
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    padding: 0 16px !important;
    font-size: 22px !important;
    min-width: 160px;
  }
  .mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu {
    gap: 15px 20px;
    padding: 20px !important;
  }
  .mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu li {
    max-width: calc(50% - 10px) !important;
  }
    .mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu li a {
    font-size: 18px !important;
  }
}
@media (max-width: 1300px) {
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    font-size: 20px !important;
    min-width: 120px;
  }
  .mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu {
    gap: 10px 16px;
    padding: 16px !important;
  }
  .mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu li {
    max-width: calc(50% - 8px) !important;
  }
    .mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu li a {
    font-size: 16px !important;
  }
}
@media (max-width: 1100px) {
  .selwynnav nav { margin-left: auto; }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    font-size: 18px !important;
    min-width: 110px;
  }
  .mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu li a {
    font-size: 15px !important;
  }
}

@media (max-width: 768px) {
  #mega-menu-wrap-topper #mega-menu-topper>li.mega-menu-item>a.mega-menu-link { font-size: 14px !important; }
  body.mega-menu-primary-mobile-open { overflow: hidden !important; }
  #header .navbar-brand img.desktop-logo { display: none; }
  #header a.navbar-brand {
    max-width: 120px;
    margin: 0 0 0 20px !important;
  }
  .hero::after, body::after { display: none; }
  #header { 
    padding-left: 0;
    position: relative;
    /* background: white; */
    display: flex;
    flex-direction: column-reverse;
  }
  #header .selwynnav {
    background: white;
    align-items: center !important;
  }
  #mega-menu-wrap-topper #mega-menu-topper { text-align: center; }
  #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open + #mega-menu-primary { 
    margin-top: 40px;
    height: calc(100vh - 126px) !important;
    overflow-y: auto;
    padding: 40px 0 !important;
  }
  .selwynnav nav { margin-right: 20px; }
  .mega-image-lockup>.mega-sub-menu>.mega-menu-row>.mega-sub-menu { display: block !important; }
  .mega-image-lockup .widget_media_image { display: none !important; }
  .mega-image-lockup .widget_text {
    height: auto !important;
    background: none !important;
  }
  .mega-image-lockup .widget_text a {
    color: var(--blue);
    font-size: 20px;
    font-weight: 400;
  }
  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item > ul.mega-sub-menu { padding: 24px 10px 14px !important; }
  .mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu li { max-width: 100% !important; }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item { margin-bottom: 30px !important; }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:last-of-type { margin-bottom: 0 !important; }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    border-bottom: 1px solid !important;
    max-width: calc(100vw - 40px);
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
    padding: 0 !important;
    font-size: 20px !important;
  }
  .mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu { gap: 16px; }
  .mega-image-lockup .mega-menu-columns-8-of-12 .mega-sub-menu li a {
    border-bottom: none !important;
    padding-left: 10px !important;
    font-size: 18px !important;
  }
  #mega-menu-wrap-primary #mega-menu-primary input, #mega-menu-wrap-primary #mega-menu-primary img { display: none !important; }
}
/* */