﻿/*  
    Styles for UniSA Scholarship Fund Website
    Author: Liam Rella
    Version: 0.1.1
    Last updated: 16/11/16
*/


/*=========================================
====================FONTS==================
=========================================*/

@font-face {
    font-family: "Marydale";
    src: url("/siteassets/fonts/marydale/marydale.eot?") format("eot"), url("/siteassets/fonts/marydale/marydale.woff") format("woff"), url("/siteassets/fonts/marydale.ttf") format("truetype"), url("/siteassets/fonts/marydale/marydale.svg#Marydale") format("svg");
    font-weight: normal;
    font-style: normal;
}

.ci {
    display: inline-block;
    font: normal normal normal 14px/1 custom;
    font-size: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.ci-2x {
    font-size: 2em;
}
.ci-3x {
    font-size: 3em;
}
.ci-4x {
    font-size: 4em;
}
.ci-5x {
    font-size: 5em;
}
.ci-indigenous:before {
    content: "\e900";
}

/*=========================================
==============PERSONAL RESETS==============
=========================================*/

body {
    font-size: 14px;
    line-height: 1.42857;
    color: #666;
    background-color: #fff;
}noscript {
    height: 0;
}
a {
    color: #0052a0;
}
a:hover,
a:focus,
a:active,
a:visited,
button:focus {
    text-decoration: none;
    color: inherit;
    outline: none;
}

/*=========================================
================GLOBAL STYLES==============
=========================================*/

@media (min-width: 768px) {
    .menu-padding {
       /* padding-top: 130px;*/
        padding-top: 00px;
    }
}
q {
    font-family: "marydale", cursive;
}
q:before {
    content: open-quote;
}
q:after {
    content: close-quote;
}
.img-max {
    max-width: 100%;
}
.vcenter {
    display: table;
    height: 100%;
    margin: 0 auto;
}
.vcenter > div {
    display: table-cell;
    vertical-align: middle;
}
.vcenter > div > div {
    float: none;
    margin: 0 auto;
}
.btn > i.invisible {
    width: 0;
    min-width: 0;
    opacity: 0;
    -webkit-transition: all 0.1s ease;
    transition: all 0.1s ease;
}
.btn:hover > i.invisible {
    visibility: visible !important;
    padding-left: 10px;
    opacity: 1;
    min-width: 22px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/*=========================================
=================TYPOGRAPHY================
=========================================*/

.hw {
    font-family: "marydale", cursive;
}
section h2:first-child {
    margin-bottom: 20px;
    margin-top: 0;
}
.h2,
h2 {
    font-size: 38px;
}
p:last-child {
    margin-bottom: 0;
}


/*=========================================
================CUSTOM GRID================
=========================================*/


/* =============5 COLUMNS=============== */

.col-xs-1-5,
.col-xs-2-5,
.col-xs-3-5,
.col-xs-4-5,
.col-xs-5-5,
.col-sm-1-5,
.col-sm-2-5,
.col-sm-3-5,
.col-sm-4-5,
.col-sm-5-5,
.col-md-1-5,
.col-md-2-5,
.col-md-3-5,
.col-md-4-5,
.col-md-5-5,
.col-lg-1-5,
.col-lg-2-5,
.col-lg-3-5,
.col-lg-4-5,
.col-lg-5-5 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
.col-xs-1-5,
.col-xs-2-5,
.col-xs-3-5,
.col-xs-4-5,
.col-xs-5-5 {
    float: left;
}
.col-xs-1-5 {
    width: 20%;
}
.col-xs-2-5 {
    width: 40%;
}
.col-xs-3-5 {
    width: 60%;
}
.col-xs-4-5 {
    width: 80%;
}
.col-xs-5-5 {
    width: 100%;
}
@media (min-width: 768px) {
    .col-sm-1-5,
    .col-sm-2-5,
    .col-sm-3-5,
    .col-sm-4-5,
    .col-sm-5-5 {
        float: left;
    }
    .col-sm-1-5 {
        width: 20%;
    }
    .col-sm-2-5 {
        width: 40%;
    }
    .col-sm-3-5 {
        width: 60%;
    }
    .col-sm-4-5 {
        width: 80%;
    }
    .col-sm-5-5 {
        width: 100%;
    }
}
@media (min-width: 992px) {
    .col-md-1-5,
    .col-md-2-5,
    .col-md-3-5,
    .col-md-4-5,
    .col-md-5-5 {
        float: left;
    }
    .col-md-1-5 {
        width: 20%;
    }
    .col-md-2-5 {
        width: 40%;
    }
    .col-md-3-5 {
        width: 60%;
    }
    .col-md-4-5 {
        width: 80%;
    }
    .col-md-5-5 {
        width: 100%;
    }
}
@media (min-width: 1200px) {
    .col-lg-1-5,
    .col-lg-2-5,
    .col-lg-3-5,
    .col-lg-4-5,
    .col-lg-5-5 {
        float: left;
    }
    .col-lg-1-5 {
        width: 20%;
    }
    .col-lg-2-5 {
        width: 40%;
    }
    .col-lg-3-5 {
        width: 60%;
    }
    .col-lg-4-5 {
        width: 80%;
    }
    .col-lg-5-5 {
        width: 100%;
    }
}

/*=========================================
==================ELEMENTS=================
=========================================*/

.paper {
    position: relative;
    background: #fff;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#d9eaf3), color-stop(4%, #fff)) 0 4px;
    background: -webkit-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px;
    background: -moz-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px;
    background: -ms-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px;
    background: -o-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px;
    background: linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px;
    -webkit-background-size: 100% 20px;
    -moz-background-size: 100% 20px;
    -ms-background-size: 100% 20px;
    -o-background-size: 100% 20px;
    background-size: 100% 20px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
    box-sizing: border-box;
}
.paper::before {
    content: '';
    position: absolute;
    width: 4px;
    /* space between */
    top: 0;
    left: 30px;
    bottom: 0;
    border: 1px solid;
    border-color: transparent #efe4e4;
    /* top/bottom left/right */
}

.trans-background{
background: rgba(255,255,255,0.6);
max-width:992px;
/*-moz-box-shadow: 3px 5px 100px rgba(255,255,255,0.5);
-webkit-box-shadow: 3px 5px 100px rgba(255,255,255,0.5);
box-shadow: 3px 5px 100px rgba(255,255,255,0.5);*/
}

#hero-statement {
    -webkit-transform: rotate(-3deg);
    transform: rotate(-3deg);
    opacity: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;  
}



/* Modal */

.modal .modal-dialog .modal-header {
    background-color: #0052a0;
    height: 55px;
}
.modal .modal-dialog .modal-header .close {
    font-size: 28px;
    color: white;
    opacity: 1;
}
.modal .modal-dialog .modal-header h4 {
    font-size: 24px;
    line-height: 1;
    margin: 0 25px;
}
.modal .modal-dialog .modal-header h5 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 25px;
}
.modal .modal-dialog .modal-body {
    line-height: 1.45;
    padding-top: 23px;
    padding-bottom: 30px;
    margin: 0 25px;
}
.modal .img-holder {
    border: 3px solid #0087cd;
 	position: relative;
    padding: 5% 5% 5%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.modal .img-holder:before,
.modal .img-holder:after {
    position: absolute;
    display: inline-block;
    z-index: 999;
    content: "";
    height: 9%;
    width: 25%;
    min-height: 8px;
    min-width: 30px;
}
.modal .img-holder:before {
   
}
.modal .img-holder:after {
   
}
.modal .img-holder .polaroid-title {
    padding-left: 3px;
    color:#0052a0;
}
.modal .text-holder {
    margin-top: 29px;
}
.modal .text-holder p {
    font-size: 14px;
}
@media (min-width: 768px) {
    .modal .text-holder {
        margin-top: 0px;
    }
}
.modal-footer {
    border: none;
}

/* Contact form */

#form-messages.alert,
#form-messages.alert.hide {
    max-height: 0px;
    overflow: hidden;
    padding: 0;
    margin: 0;
    opacity: 0;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-property: height, opacity, padding-top;
    transition-property: height, opacity, padding-top;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
}
#form-messages.alert.alert-success,
#form-messages.alert.alert-danger {
    margin: 20px 15px 0;
    padding: 15px;
    max-height: 52px;
    overflow: auto;
    opacity: 1;
}
form .form-group {
    position: relative;
    margin-top: 30px;
}
form .form-group {
    margin-bottom: 0;
}
form .form-group label,
form .form-group label.on,
form .form-group label.show {
    padding: 0 1em;
    margin-top:.4em;
    font-size:18px;
    font-weight:400;
    color: #003e74;
    overflow: hidden;
    -webkit-transition: .333s ease opacity, .333s ease top, .333s ease border;
    transition: .333s ease opacity, .333s ease top, .333s ease border;
}


    .form-horizontal .control-label {
        text-align:left;
    }
@media (min-width: 992px) {
    .form-horizontal .control-label {
        text-align:right;
    }
}

form .form-group label.on {
    color: #fff;
    background-color: #0052a0;
    border-bottom: none;
}
form .form-group label.show {
    height: auto;
    top: -1.53em;
    opacity: 1;
}

.form-group.formMessage {
    padding-top: 30px;
    clear: both;
    text-align:center !important;
}

.form-group.formMessage .control-label{
    display:block;
    width:100%;
    text-align:center !important;
    padding-bottom:20px;
}

.form-group.formMessage .col-md-9{
    width:100%;
    display:block;


}

.form-group.formMessage .col-md-9 .form-control{
    width:80%;
    margin:0 auto;
}

.contact{
background-color:#e2efff !important;
}

form .form-group.formName input, form .form-group.formEmail  input{
    height:55px;
    font-size:20px;
    font-weight:300;
}

form .form-group textarea{
    font-size:20px;
    font-weight:300;
}

.form-group.btn {
    width: 100%;
}

.form-group.btn .col-md-9 {
    width:100%;
    display:block;
    float:none;
    margin:0 auto;
}


form .form-group.formName, form .form-group.formEmail {
    width:100%;
}

@media (min-width: 992px) {

form .form-group.formName, form .form-group.formEmail {
    width:50%; float:left;
}


}

input,
textarea {
    width: 100%;
    padding: 1em 1em;
    border: 0;
    display: block;
    outline: none!important;
    font-size: 16px;
    line-height: 1.9;
    box-sizing: border-box;
    -webkit-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}
input:focus,
textarea:focus {
    box-shadow: inset 0 0px 3px 1px rgba(0, 62, 116, 1);
}
form textarea {
    height: 16em;
    resize: none;
}
#contactSubmit {
    width: 100%;
    padding: 15px;
    border-radius: 0;
    margin-top: 10px;
    background-color: #0052a0;
    color: #fff;
    font-weight: bold;
    border: 5px solid transparent;
}
#contactSubmit:hover,
#contactSubmit:active {
    box-sizing: border-box;
    background-color: #fff;
    color: #0052a0;
    border: 5px solid rgba(0, 62, 116, 0.2);
    -webkit-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}
#contactSubmit:active {
    box-shadow: inset 0 0 5px 1px rgba(0, 0, 0, 0.2);
}


/*=========================================
=================COVER PAGE================
=========================================*/

#cover {
    background-color: #000;
    position: relative;
    overflow: visible;
    margin-bottom: -5px;
}
#cover video {
    width: 100%;
    position: relative;
    -webkit-filter: sepia(0.3);
    filter: sepia(0.3);
}
#cover .video-controls {
    max-height: 36px;
    opacity: 1;
    display: inline-block;
}


@media (min-width: 1200px) {
    #cover video {
        height: 80vh;
        max-height: 720px;
        width: auto;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    #cover video:-ms-fullscreen {
        left: 0;
        transform: translateX(0);
    }
    #cover .video-controls {
        position: absolute;
        bottom: 20px;
        z-index: 999;
        text-align: center;
        margin: 0 auto;
        width: auto;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        max-height: 0px;
        overflow: hidden;
        opacity: 0;
        -webkit-transition: all 0.4s ease-in 1.3s;
        transition: all 0.4s ease-in 1.3s;
        display: inline-block;
    }
    #cover .video-controls button {
        outline: none;
        width: 50px;
        height: 100%;
        border-width: 2px;
        float: left;
        display: block;
    }
    #cover-video-conainer:hover .video-controls,
    #cover .video-controls.show {
        max-height: 36px;
        opacity: 1;
        -webkit-transition: all 0.4s ease-in 0s;
        transition: all 0.4s ease-in 0s;
    }
}

@media (max-width: 768px){
 .cover-video {
     padding:0;   
    }
}


/*=========================================
=================NAVIGATION================
=========================================*/

.navbar {
    border-radius: 0;
    background-color: #0052a0;
    margin-bottom: 0;
    border: none;
}
.navbar-brand {
    height: auto;
    margin: 25px 15px 25px 0;
    padding: 0 0 0 15px;
}
.navbar-brand > img {
    height: 30px;
}
.navbar-inverse .navbar-toggle {
    padding: 10px;
    margin: 25px 15px 25px 0;
    background-color: #0052a0;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #0052a0;
    position: relative;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #0052a0;
}
.navbar-inverse .navbar-nav > .active > a::after {
    content: " ";
    background-color: #fff;
    width: 10%;
    height: 2px;
    position: absolute;
    top: 75%;
    left: 50%;
}
.navbar-inverse .navbar-nav > .active > a::before {
    content: " ";
    background-color: #fff;
    width: 10%;
    height: 2px;
    position: absolute;
    top: 75%;
    right: 50%;
}
.navbar-inverse .navbar-nav > li {
    text-align: center;
}
.navbar-inverse .navbar-nav > li > a {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    display: inline-block;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: rgba(255, 255, 255, 1);
}
.social {
    text-align: center;
    border-top: 1px solid #101010;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
    padding-top: 10px;
}
.social:before {
    display: block;
    content: "Social";
    color: rgba(255, 255, 255, 0.6);
}
.social > li {
    display: inline-block;
    margin: 0 auto;
}
.social > li i {
    font-size: 20px;
}
.donate {
    max-width: 100px;
    margin: auto;
    text-align: center;
    font-weight: bold;
}
#main-nav .donate a.donate-btn {
    box-sizing: border-box;
    background-color: #fff;
    color: #0052a0;
    padding: 10px 20px;
    border: 5px solid rgba(0, 62, 116, 0.2);
    -webkit-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    margin-top: 15px;
}
#main-nav .donate a.donate-btn:hover,
#main-nav .donate a.donate-btn:focus {
    background: #0052a0;
    border-color: #fff;
    color: #fff;
}
@media (min-width: 768px) {
    .navbar-brand {
        height: 80px;
        padding: 15px;
        margin: 0 0 0 -15px;
    }
    .navbar-brand > img {
        height: 50px;
    }
    .navbar-inverse .navbar-nav > li {
        margin-top: 15px;
    }
    .navbar-inverse .navbar-nav > .active > a::after {
        width: 30%;
        left: 35%;
    }
    .navbar-right {
        float: right;
    }
    .social {
        background-color: inherit;
        border-top: none;
        box-shadow: none;
        padding-top: 0;
    }
    .social:before {
        display: none;
    }
    .social > li i {
        font-size: inherit;
    }
    #main-nav .donate a.donate-btn {
        margin-top: 0;
    }
}
@media (max-width: 991px) {
    .navbar-brand {
        height: 80px;
        padding: 25px;
        margin: 0 0 0 -15px;
    }
    .navbar-brand > img {
        height: 30px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    /*insert tablet styles here*/
    .donate {
        max-width: 80px;
        margin-left: 0;
    }
}
@media (min-width: 992px) {
    .donate {
        margin-left: 10px;
    }
}
.c-hamburger {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0;
    width: 30px;
    height: 30px;
    font-size: 0;
    text-indent: -9999px;
    box-shadow: none;
    border-radius: 0;
    border: none;
    cursor: pointer;
    -webkit-transition: background 0.3s cubic-bezier(.25, .8, .25, 1);
    transition: background 0.3s cubic-bezier(.25, .8, .25, 1);
    float: right;
}
.c-hamburger span {
    display: block;
    position: absolute;
    top: 13px;
    left: 1px;
    right: 1px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
}
.c-hamburger span::before,
.c-hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    content: "";
    border-radius: 3px;
}
.c-hamburger span::before {
    top: -7px;
}
.c-hamburger span::after {
    bottom: -7px;
}
.c-hamburger--htx {
    background-color: #0052a0;
}
.c-hamburger--htx span {
    -webkit-transition: background 0.3s cubic-bezier(.25, .8, .25, 1);
    transition: background 0.3s cubic-bezier(.25, .8, .25, 1);
}
.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
    -webkit-transition-duration: 0.5s, 0.5s;
    transition-duration: 0.5s, 0.5s;
    -webkit-transition-delay: 0.5s, 0s;
    transition-delay: 0.5s, 0s;
}
.c-hamburger--htx span::before {
    -webkit-transition-property: top, -webkit-transform;
    transition-property: top, transform;
}
.c-hamburger--htx span::after {
    -webkit-transition-property: bottom, -webkit-transform;
    transition-property: bottom, transform;
}

/* active state, i.e. menu open */

.c-hamburger--htx.is-active {
    background-color: #0052a0;
}
.c-hamburger--htx.is-active span {
    background: none;
}
.c-hamburger--htx.is-active span::before {
    top: 0;
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
}
.c-hamburger--htx.is-active span::after {
    bottom: 0;
    -webkit-transform: rotate(-225deg);
    -ms-transform: rotate(-225deg);
    transform: rotate(-225deg);
}
.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
    -webkit-transition-delay: 0s, 0.3s;
    transition-delay: 0s, 0.3s;
}

/*=========================================
=============Main Content Area=============
=========================================*/

section > .container {
    padding-top: 50px;
    padding-bottom: 50px;
}
section.no-pad > .container {
    padding-top: 0;
    padding-bottom: 0;
}
.categories .row:not(:last-child) {
    margin-bottom: 20px;
}
.categories .col {
    text-align: center;
    margin-top: 10px
}
.categories .icon-holder i {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 68px;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
#how-to-give .col > div {
    margin-bottom: 10px;
}
#how-to-give a.btn {
    width: 100%;
    font-weight: 600;
    font-size: 16px;
}
.students,
.featured {
    color: #0052a0;   
}

.page-title-blue {
	font-weight:bold;
    font-size: 34px;
    font-weight: 800;
    color: #0052a0;
    margin: 15px 0;
}

.panel
{
    display: block;
    overflow: hidden;
    padding: 16px;
    background: rgba(255,255,255,0.4);
	max-width:992px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, .25);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

.btn-donate {
    display: block;
    margin-top: -16px;
    width: 100%;
}

h1.largeheading {
color: #0052a0;
font-size: 4.0em;
font-weight: 800;
letter-spacing: -0.01em;
line-height: 0.85em;
margin: 16px 0;
text-transform: uppercase;
				
}



#research-slider .sp-button {
border: 2px solid #0052a0;
 width: 10px !important;
    height: 10px !important;

}

#research-slider .view-more {
color:#0052a0;
font-weight:bold;
}



#research-slider .sp-selected-button {
    background-color: #0052a0;
}

.mobile-image {
	display:none;
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
 .col-centered { float: none; margin: 0 auto; }
 }

@media (max-width: 768px) {
#research-slider .slide .desktop-image {
	width:200px;
	height:auto;
	float:none;
}

}

@media (max-width: 600px) {
.hide-mobile {
display:none;
}

}
@media (max-width: 766px) {
.mobile-s {
text-align: left !important;
}}

@media (max-width: 420px) {

.desktop-image {
display:none;}

.mobile-image {
	display:block;
	width:100%;
	height:auto;

}
}

@media (max-width: 374px) {
#research-slider .slide img {

}}





/* Great Hall slider Style */

.swiper-container {
    width: 100%;
    height: 412px;
}

.slider-content {
    margin-bottom: 20px;
    padding-top: 0px;
    background: #EDEDED;
}

.swiper-container-3 {
    width: 100%;
    height: 350px;
    margin-bottom: 30px !important;
}

.arrow-next {
    position: absolute;
    z-index: 1;
    right: 15px;
    top: 40%;
    cursor: pointer;
}

.arrow-prev {
    position: absolute;
    z-index: 1;
    left: 15px;
    top: 40%;
    cursor: pointer;
}

.fa-next {
    color: #0052a0;
    background: white;
    padding: 8px 10px 8px 15px;
    border-radius: 30px;
    line-height: 0;
    border-top: 2px solid #ffffff;
}

.fa-prev {
    color: #0052a0;
    background: white;
    padding: 8px 15px 8px 10px;
    border-radius: 30px;
    line-height: 0;
    border-top: 2px solid #ffffff;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-size: cover;
    color: white;
    background-position: center;
}

.sliders {
    background-size: auto 100%;
    background-position: center;
    background-size: cover;
}

.greathall {
    background-size: cover;
    background-position: center;
}

.swiper-container-v {
    background: #eee;
}

.slider-heading {
    display: block;
}

.slider-text {
    display: block;
}

.content {
    display: block;
    text-align: left;
    position: absolute;
    bottom: 0px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    padding: 0.5em;
}

.content-text {
    display: block;
    text-align: center;
    position: absolute;
    top: 30%;
    left: 0;
    background: white;
    width: 100%;
}

@media screen and (max-width: 991px) {
    .content-text {
        top: 10%;
        padding: 0 20px;
    }
}

@media screen and (max-width: 600px) {
    .swiper-container-3 {
        width: 100%;
        height: 500px;
    }
    .pool {
        background-position: 70% 20%;
    }
            
    .fullscreen-inner {
				text-align:center;
}
    .slide1 {
        background-position: 90% 0%;
    }
    .slide2 {
        background-position: 40% 0%;
    }
    .slide3 {
        background-position: 0% 0%;
    }
    .slide4 {
        background-position: 30% 0%;
    }
    .slide5 {
        background-position: 50% 0%;
    }
}

.content-text p {
    color: black;
    font-size: 110%;
    font-weight: 200;
    line-height: 1.05;
    margin: 0 0 10px 0;
    padding: 0;
    display: block;
}

.content h2 {
    color: black;
    font-size: 46px;
    font-weight: 200;
    line-height: 1.05;
    margin: 0;
    padding: 0;
}

.content p {
    color: black;
    font-size: 110%;
    font-weight: 200;
    line-height: 1.05;
    margin: 0 0 10px 0;
    padding: 0;
    display: block;
}

.fullscreen-slider {
    display: block;
    text-align: left;
    position: absolute;
    bottom: 0px;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    z-index: 2;
    padding: 0.5em;
}

.fullscreen-slider p {
    color: #FFFFFF;
    font-size: 46px;
    font-weight: 200;
    line-height: 1.05;
    margin: 0;
    padding: 0;
}

.fullscreen-inner {
    max-width: 960px;
    margin: 0px 0 0 15px;
    overflow: hidden;
    padding: 0 70px 0 70px;}
    
    .fullscreen-inner-GH {
	max-width: 960px;
	padding: 0 16px;
			
}

.swiper-container-horizontal > .swiper-pagination {
    top: 10px !important;
}
/* END Great Hall slider Style */


/* Feature Slider */

.slidermedia h4 {
	color: #000000;
	font-weight: 600;
	font-size: 120%;
    margin: 10px 0 0;
    text-align: left;
    line-height: 1.4;
}

.slidermedia p.name {
	font-weight: 500;
	margin-top: 0;
}

.slidermedia .image-wrap {
	max-height: 160px !important; 
	overflow: hidden;
}
.slidermedia .swiper-slide {
	font-size: inherit;
}
.slidermedia div.top {
	border-bottom: 1px solid rgba(0,0,0,0.4);
}

.slidermedia .bk-blue {
	height: 100%;
}


/* Slider */

.slider-pro {
    margin-top: 20px;
}
.slide a,
.students .slide a {
    color: #ffffff;
}
.slide a:hover,
.students .slide a:hover {
    color: #0052a0;
}
.slide .card {
    padding-top: 20px;
    padding-bottom: 0px;
    border-radius: 13px;
    -webkit-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    text-align: center;
    position: relative;
    
}
.slide .img-holder {
    border-radius: 50%;
    width: 220px;
    height: 220px;
    max-width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    border: 3px solid white;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    -webkit-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}
.slide a:hover .card {
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
.slide a:hover .img-holder {
    box-shadow: none;
}
.slide .card .text-holder {
    padding: 0 10px;
}
.slide .card .text-holder q {
    font-size: 21px;
}
.slider-pro .sp-next-arrow:after,
.sp-next-arrow:before,
.sp-previous-arrow:after,
.sp-previous-arrow:before {
    background-color: #0052a0;
}
.sp-horizontal .sp-previous-arrow {
    left: 20px;
}
.sp-horizontal .sp-next-arrow {
    right: 20px;
}
.slider-pro .sp-slide {
    max-width: 95%;
}

/* featured */

@media (min-width: 768px) {
    .featured .sp-slide {
        max-width: 30%;
        margin: 0 auto;
    }
   }
   
@media all and (max-width: 767px) {
 	.featured-image {
    	background: none !important;
    	background-color:#eee !important; 
    }
    
}


@media only screen and (max-width: 767px) {
  	.featured-image {
    	background: none !important;
    	background-color:#eee !important; 
    }
    
}

   

/* Students */

@media (min-width: 768px) {
    .students .sp-slide {
        max-width: 30%;
        margin: 0 auto;
    }
}

/* Behind the scenes */

 @media all and (max-width: 590px) {
        .responsive {
            width: 300px !important;
            height: 169px !important;
            padding: 10;
            margin: 0 auto;
            float: none;
        }
        }

/*=========================================
===================FOOTER==================
=========================================*/

iframe[name="google_conversion_frame"] {
    display: none;
}
footer {
    border-radius: 0;
    background-color: #0052a0;
    color: #ffffff;
    padding-top: 40px;
    margin: 0;
}
footer .copyright {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
}
footer > div:last-child {
    border-top: 1px solid #666666;
}
footer .footer-links h4 {
    font-weight: 600;
    color:#fff;
}
footer .footer-links ul {
    list-style: none;
    padding-left: 0;
}
footer .footer-links li a {
    color: #fff;
    opacity: 0.8;
}
footer .footer-links li a:hover,
footer .footer-links li a:focus,
footer .footer-links li a:active {
    opacity: 1;
}

/*=========================================
=================Components================
=========================================*/

.btn-white,
.btn-white:focus,
.btn-white.focus,
.btn-white:active,
.btn-white.active,
.open > .dropdown-toggle.btn-white {
    color: #0052a0;
    background-color: #ffffff;
    border-color: #ffffff;
}
.btn-white:hover {
    color: #ffffff;
    background-color: transparent;
    border-color: #ffffff;
}
.btn-white:active,
.btn-white.active,
.open > .dropdown-toggle.btn-white {
    background-image: none;
}
.btn-white.disabled:hover,
.btn-white[disabled]:hover,
fieldset[disabled] .btn-white:hover,
.btn-white.disabled:focus,
.btn-white[disabled]:focus,
fieldset[disabled] .btn-white:focus,
.btn-white.disabled.focus,
.btn-white[disabled].focus,
fieldset[disabled] .btn-white.focus {
    background-color: #337ab7;
    border-color: #2e6da4;
}
.btn-white .badge {
    color: #337ab7;
    background-color: #fff;
}

/* Gallery */

.gallery ul {
    list-style: none;
}
.gallery li {
    width: 25%;
    float: left;
    padding: 20px;
    overflow: hidden;
}
.gallery li .img-holder {
    width: 200px;
    height: 200px;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    -webkit-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    margin: 0 auto;
    overflow: auto;
    display: block;
}
.gallery li:hover .img-holder {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}
.gallery li img {
    height: auto;
    width: 100%;
    opacity: 0;
}
.mfp-title {
    font-family: "Marydale", cursive;
    font-weight: bold;
}

/* youtube videos */

.video-wrapper {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    width: 100%;
}
div:not(:last-child) .video-wrapper {
    margin-bottom: 10px;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media and (min-width: 1200px) {
    div:not(:last-child) .video-wrapper {
        margin-bottom: 0;
    }
}