/* Custom CSS for Chris */

.centered
{
    display: grid;
    justify-self: center;
    justify-content: center;
    text-align: center;
}

.centered h1, .centered h2, .centered h3, .centered h4, .centered p, .centered a
{
    justify-self: center;
text-align: center;
}



.color-change-2x {
	-webkit-animation: color-change-2x 4s linear infinite alternate both;
	        animation: color-change-2x 4s linear infinite alternate both;
}

@-webkit-keyframes color-change-2x {
  0% {
    background: #6B7912;
  }
  100% {
    background: #5C0F28;
  }
}
@keyframes color-change-2x {
  0% {
    background: #6B7912;
  }
  100% {
    background: #5C0F28;
  }
}



.img,
.gallery-thmb {
    border-radius: 10px;
}

.anim-pull-in .col-2 > div:first-child {
    left: -1200px;
}

.anim-pull-in .col-2 > div:last-child {
    left: 1200px;
}

/* ADD ANIM-PULL-IN TO ANIM.JS */

/* Hover cards start */

.hovercard-first {
    border: 3px solid #fff;
    padding: 32px;
    /*    border-radius: 5px;*/
    background-color: var(--secondary-color) !important;
    /*    box-shadow: 4px 5px 17px -4px #222;*/
}

.hovercard-first b {
    color: var(--primary-color) !important;
    text-align: center;
    justify-self: center;
}

.hovercard-first h1 {

    color: var(--primary-color) !important;
    font-weight: 800;
    text-align: center;
    justify-self: center;
}

.hovercard-first p,
.hovercard-first li {

    color: #fff !important;
    text-align: center;
    justify-self: center;
    align-self: center;
}

@media (min-width: 1200px) {
    .hovercard-first {
        /*        height: 223px;*/
    }
}

.hovercard-second {
    border: 4px solid var(--secondary-color) !important;
    padding: 20px;
    /*    border-radius: 40px;*/
    /*    background-color: #1F1A17;*/
    text-align: center;
    /*    box-shadow: #473d44 7px 7px;*/
}

.hovercard-second b,
.hovercard-second a,
.hovercard-second strong {
    color: var(--secondary-color) !important;
}


.hovercard-second p {

    color: #fff !important;
    text-align: center;
    justify-self: center;
    align-self: center;
    /*    font-weight: 600;*/
}

.hovercard-second h1 {

    color: var(--secondary-color) !important;
    text-align: center;
    justify-self: center;
}

/* Hover cards end */

/* Custom Button */

.custombutton {
    width: 10em;
    position: relative;
    height: 3.5em;
    border: 3px ridge #d4b274;
    outline: none;
    background-color: transparent;
    color: #222;
    transition: 1s;
    border-radius: 0.3em;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.custombutton::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 3%;
    width: 95%;
    height: 40%;
    /*background-color: #212121;*/
    transition: 0.5s;
    transform-origin: center;
}

.custombutton::before {
    content: "";
    transform-origin: center;
    position: absolute;
    top: 80%;
    left: 3%;
    width: 95%;
    height: 40%;
    /*background-color: #212121;*/
    transition: 0.5s;
}

.custombutton:hover::before,
.custombutton:hover::after {
    transform: scale(0)
}

.custombutton:hover {
    box-shadow: inset 0px 0px 25px #d4b274;
}


/* Images for icons at top */

.imgicon {
    max-height: 40px;
}

/* Images for icons on contact page */

.contactimgicon {
    max-height: 20px;
    grid-row: 1;
    border-right: solid 1px;
    padding-right: 12px;
    color: var(--primary-color);
}

/* Zoom for affiliations */

.zoom {
    transition: transform .2s;
}

.zoom:hover {
    transform: scale(1.05);
}

.zoomsection {
    overflow-x: visible;
}

/* Coloured background strip */

.colorback {
    padding: 30px 0px;
    background-color: var(--primary-color);
}

.colorback p,
.colorback a,
.colorback li,
.colorback b,
.colorback strong,
.colorback em {
    color: #fff;
}

.colorback h1 {
    color: var(--secondary-color);
}

.colorback .heading {
    color: var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
}

/* Image background strip, put image at 40% opacity */

.imageback {
    padding: 30px 0px;
    background-color: #6d135d;
    background-image: url("../img/background-image1.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.imageback p,
.imageback a,
.imageback li {
    color: #fff;
}

.imageback h1 {
    color: #fff;
}

.imageback .heading {
    color: #fff;
    border-bottom: 1px solid #fff;
}

/* 1px shadow all around text */

.shadowslide {
    text-shadow: -1px -1px 0px #5C0F28,
        0px -1px 0px #5C0F28,
        1px -1px 0px #5C0F28,
        -1px 0px 0px #5C0F28,
        1px 0px 0px #5C0F28,
        -1px 1px 0px #5C0F28,
        0px 1px 0px #5C0F28,
        1px 1px 0px #5C0F28;
}

/* Button */

.chameleon {

    background-color: #206D8F;
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    font-size: 16px;
    margin: 4px 2px;
    transition: 0.3s;

    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05),
        0 2px 2px rgba(0, 0, 0, 0.05),
        0 4px 4px rgba(0, 0, 0, 0.05),
        0 8px 8px rgba(0, 0, 0, 0.05),
        0 16px 16px rgba(0, 0, 0, 0.05);

}


.chameleon:hover {
    background-color: #EDD040;
    color: white;
    cursor: pointer;
}

/* List with different styling for first and last child, gradient border lines */

.portcullis > :first-child {
    border: 2px solid #E58DA2;
    border-bottom: #E58DA2;
    border-image-slice: 1;
    border-width: 0px 0px 2px 0px;
    border-image-source: linear-gradient(to left, #fff, #E58DA2);
    padding-bottom: 5px !important;
    padding-top: 0px !important;
}

.portcullis li {
    border: 2px solid #E58DA2;
    border-bottom: #E58DA2;
    border-image-slice: 1;
    border-width: 2px 0px;
    border-image-source: linear-gradient(to left, #fff, #E58DA2);
    padding-bottom: 5px;
    padding-top: 5px;
}

.portcullis > :last-child {
    border-bottom: none !important;
    padding-top: 5px !important;
    padding-bottom: 0px !important;
}

/* Alcove Box section  */

.alcove {
    background-color: #222;
    padding: 30px 0px;
}

.alcove .workspace {
    background-color: #fff;
    padding: 20px 0;
    border: 0.2rem solid #3dbbff;
}

.alcove .workspace .element {
    text-align: center;
    justify-self: center;
}

/* Cloister Hover Box Section */

.cloister {
    padding: 0px;
}

.cloister .workspace {
    background-color: #fff;
}

.cloister .workspace .element {
    text-align: center;
    margin: 5px 20px;
}

.cloister .workspace .outline {
    border: 0.2rem solid #fff;
    transition: box-shadow .3s;
    border-radius: 10px;
}

.cloister .workspace .outline:hover {
    box-shadow: 0 0 11px rgba(33, 33, 33, .2);
}

.cloister .workspace .innerline {
    display: grid;
    margin: 20px 0px;
}

.cloister .workspace .innerline .element {
    justify-self: center;
}

.cloister img {
    max-height: 75px;
    max-width: 75px;
}

/* Frame Image and text content */

.frame-border {
    border: solid 5px #000;
    padding: 20px;
    background-color: #8A1B21;
}

.frame-content {
    align-self: center;
    text-align: center;
    justify-self: center;
}

.frame-content strong {
    color: #fff;
}

.frame-content em {
    color: #fff;
}

.frame-border img {
    border-radius: 10px;
    max-width: 150px;
}

/* Sail Dropdown text content */

.mast {
    text-align: -webkit-center;
}

.sail {
    width: 90%;
    color: #111;
    padding: 45px 45px;
}

@media(max-width: 768px) {
    .sail {
        padding: 0px;
    }

    .sail h1 {
        font-size: 1.1em;
    }
}

.sail .canvas {
    position: relative;
    margin: 10px 10px;
}

.sail .label {
    position: relative;
    padding: 10px 0;
    color: #bba058;
    cursor: pointer;
}

.sail .label::before {
    content: '+';
    color: #bba058;
    position: absolute;
    top: 50%;
    right: 0px;
    font-size: 30px;
    transform: translateY(-50%);
}

.sail .content {
    position: relative;
    height: 0;
    font-size: 1em;
    text-align: justify;
    width: 90%;
    overflow: hidden;
    transition: 0.5s;
}

.sail .contentlarger {
    position: relative;
    height: 0;
    font-size: 1em;
    text-align: justify;
    width: 90%;
    overflow: hidden;
    transition: 0.5s;
}

.sail hr {
    width: 100%;
    margin-left: 0;
    border: 1px solid #000;
}

.sail .canvas.active .content {
    height: 180px;
}

.sail .canvas.active .contentlarger {
    height: 300px;
}

@media(max-width: 1200px) {
    .sail .canvas.active .content {
        height: 100%;
    }

    .sail .canvas.active .contentlarger {
        height: 100%;
    }
}

.sail .canvas.active .label::before {
    content: '-';
    font-size: 30px;
}

/* Quote Box */

.quotecontainer {
    margin: 0 auto;
    display: grid;
    grid-gap: 20px;
    box-sizing: border-box;
    padding: 40px 20px;
}

.quotecontainer .quotebox {
    position: relative;
    padding: 80px 40px 40px;
    transition: 0.5s;
    text-align: center;
    background: #f5f5f5;
    border-radius: 10px;
}

.quotecontainer .quotebox:hover {
    background-color: #d2e6ff;
}

.quotecontainer .quotebox p {
    margin: 0;
    padding: 0;
    transition: 0.5s;

}

.quotecontainer .quotebox h4 {
    margin: 20px 0 0;
    padding: 0;
    transition: 0.5s;
    font-size: 18px;
    color: #9785D1;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}

.quotecontainer .quotebox h4 span {
    font-weight: :600;
    font-size: 14px;
    color: #c5c5c5;
    transition: 0.5s;
}

.quotecontainer .quotebox:hover p,
.quotecontainer .quotebox:hover h4,
.quotecontainer .quotebox:hover h4 span {
    color: #111;
}

.quotecontainer .quotebox .imgBox {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translate(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;

}

.quotecontainer .quotebox:before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: url('../img/quotes.png');
    background-size: cover;
    opacity: 0.02;
    pointer-events: none;
    transition: 0.5s;
}

.quotecontainer .quotebox:hover:before {
    transform: translateY(-60px);
    opacity: 1;
}

.quotecontainer .quotebox:after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: url('../img/quotes.png');
    background-size: cover;
    opacity: 0.02;
    pointer-events: none;
    transition: 0.5s;
    transform: rotate(180deg) translateY(0px);
}

.quotecontainer .quotebox:hover:after {
    transform: rotate(180deg) translateY(-60px);
    opacity: 1;
}

/* Bullet Point Image Make 15px */
/*
.imglist {
  list-style-image: url("../img/pawsmall.png");
}
*/

/* HR with image in middle */
/*
hr { 
    background: url("../img/flower.png") no-repeat top center;
    background-size: contain;
    display: block;
    height: 50px;
    border: 0;
    position: relative;
}
hr:before,
hr:after {
    content: '';
    display: block;
    position: absolute;
    background: #1D59A3;
    height: 2px;
    top: 22px;
}
hr:before {
    left: 0;
    right: 60%;
    margin-right: 10px;
    margin-left: 70px;
}
hr:after {
    right: 0;
    left: 60%;
    margin-left: 10px;
    margin-right: 70px;
}
*/
