@font-face {
  font-family: "Bjola";
  src: url('../webfonts/Bjola.woff2');
}

@font-face {
  font-family: "Myriad Pro";
  src: url('../webfonts/MyriadPro.woff');
}

body {
    background-color: rgba(23, 113, 141, 1);
}

h1, h2, h3 { font-family: "Bjola", sans-serif;}
h4, h5, h6 { font-family: "Myriad Pro", sans-serif; }
p { font-family: "Myriad Pro", sans-serif; }

#logo {
    width: 221px;
    height: 99px;
    background: url("../images/index-logo.png") no-repeat;
    background-size: contain;
}

nav, .scrolled {
    /* IE9, iOS 3.2+ */
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%,color-stop(0.388, rgb(23, 113, 141)),color-stop(0.777, rgba(23, 113, 141, 0.85)),color-stop(0.94, rgba(23, 113, 141, 0.7)),color-stop(0.978, rgba(23, 113, 141, 0)))!important;
    /* Android 2.3 */
    background-image: -webkit-linear-gradient(top,rgb(23, 113, 141) 38.8%,rgba(23, 113, 141, 0.85) 77.7%,rgba(23, 113, 141, 0.7) 94%,rgba(23, 113, 141, 0) 97.8%)!important;
    /* IE10+ */
    background-image: linear-gradient(to bottom,rgb(23, 113, 141) 38.8%,rgba(23, 113, 141, 0.85) 77.7%,rgba(23, 113, 141, 0.7) 94%,rgba(23, 113, 141, 0) 97.8%)!important;
    background-image: -ms-linear-gradient(top,rgb(23, 113, 141) 38.8%,rgba(23, 113, 141, 0.85) 77.7%,rgba(23, 113, 141, 0.7) 94%,rgba(23, 113, 141, 0) 97.8%)!important;

    transition: background 1.5s ease;
}

nav {
    font-family: "Myriad Pro", sans-serif;
    font-size: 1.2em;
}

#navbarsExample05 ul {
    padding-left: 10px;
}

#navbarsExample05 li {
    margin-right: 15px;
}

#donationbutton {
    border: 2px solid white;
    padding: 5px 20px;
    transition: background-color 1s;
    max-width: 135px;
    text-align: center;
}

#donationbutton:hover {
    background-color: white;
    color: black;
}

.dropdown-menu {
    background: rgba(23, 113, 141, 0.8);
}

.dropdown-menu a {
    color: white;
}

.dropdown-item:hover {
    background: rgba(23, 113, 141, 1);
    color: rgba(253, 197, 46, 1);
}

#covertitles {
    text-align: center;
    color: white;
    padding-top: 150px;
    padding-bottom: 70px;
    background: url(../images/homesplash2.jpg?v=2) no-repeat;
    background-size: cover;
    background-position: center center;
    transform: scale(1.2);

    animation-name: fadeinbg;
    animation-duration: 1.9s;
    animation-fill-mode: forwards;
}

#titles {
    animation-name: fadein;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

#covertitles h1 {
    font-family: "Bjola", sans-serif;
    font-size: 2em;
    font-weight: 500;
    text-shadow: 2px 2px #000;
    margin: 30px 10%;
}

#covertitles h2 {
    font-weight: 300;
    font-size: 1.1em;
    text-shadow: 1px 1px #000;
}

button {
    border: 1px solid transparent;
    border-radius: 30px;
    background-color: rgba(253, 197, 46, 1);
    padding: 10px 30px;
    font-family: "Myriad Pro", sans-serif;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.7s, border 0.7s, transform 0.7s;
    text-align: center;
}

button:hover {
    background-color: rgba(249, 200, 21, 0.7);
    cursor: pointer;
    opacity: 0.85;
}

button:active {
    box-shadow: 1px 5px rgba(249, 200, 21, 0.4);
}

#mainaction {
    animation-name: wiggle;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 1.9s;
    margin-top: 5px;
}

#covertitles {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -2;
}

#allcontent {
    position: static;
    margin-top: 580px;
    z-index: 2;
    background-color: rgba(23, 113, 141, 1);
    opacity: 0.6;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

/* =======================================> RWD <========================================= */


@media screen and (min-width: 400px) {
    #mainaction:last-of-type {
        margin-left: 15px;
    }
}

@media screen and (min-width: 650px) {

    /* #covertitles {
        padding-top: 200px;
        padding-bottom: 130px;
    } */

    #covertitles h1 {
        font-size: 2.5em;
    }

    #covertitles h2 {
        font-size: 1.3em;
    }

    #covertitles button {
        font-size: 1em;
        padding: 14px 36px;
    }
}

@media screen and (min-width: 990px) {
    nav {
        background-image: linear-gradient(to bottom,rgb(23, 113, 141) 0.1%,rgba(23, 113, 141, 0.85) 0.2%,rgba(23, 113, 141, 0.7) 0.3%,rgba(23, 113, 141, 0) 0.4%)!important;
        transition: background 1.5s ease;
    }

    #covertitles {
        background: url(../images/homesplash2.jpg?v=2) no-repeat;
        background-size: cover;
        background-position: center center;
    }
}

@media screen and (min-width: 1150px) {

    .bg-success {
        font-size: 1.1em;
    }

    #covertitles h1 {
        font-size: 2.9em;
    }

    #covertitles h2 {
        font-size: 1.6em;
    }

}

/* =======================================> LOWER CONTENT <========================================= */

span.arrow {
    position: static;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 15px;
    display: block;

    width: 24px;
    height: 24px;

    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(-45deg);

    animation-name: scrollableloop;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-out;
}

.content {
    padding: 0px 30px;
    color: white;
    /* overflow-x: hidden; */
    overflow-y: hidden;
}

h1.mainh1 {
    max-width: 660px;
    margin: 0 auto;
    color: rgba(253, 197, 46, 1);
    font-size: 2.3rem;
    text-align: center;
    padding-top: 20px;
    font-weight: 900;
}

.block {
    padding: 30px 0;
    border-bottom: 1px solid lightgray;
}

.blocknarrower {
    margin-top: 20px;
    padding: 15px 0;
    border-bottom: 1px solid lightgray;
}

.whiteblock {
    padding: 20px 15px;
    background-color: #fff;
    width: 100%;
    color: rgba(23, 113, 141, 1);
   /* overflow-x: hidden; */
    overflow-y: hidden;
}

.whiteblocktitle {
    font-size: 2rem;
    font-weight: 800!important;
}

.content h3 {
    margin-top: 30px;
    text-align: center;
    color: white;
    font-weight: 600;
}

h3.whiteblocktitle {
    margin-top: 30px;
    text-align: center;
    color: rgba(23, 113, 141, 1);
    font-weight: 600;
}

.block button {
    margin: 0 10px;
}

.block:last-child, .blocknarrower:last-of-type {
    border-bottom: 0px solid lightgray;
}

.subblock {
    text-align: center;
}

.subblock a {
    color: inherit;
    text-decoration: none;
    transition-duration: 0.5s;
    display: inline-block;
}

.subblock a:hover {
    opacity: 0.85;
}

.block a {
    color: white;
    text-decoration: underline;
}

#gallery {
    align-self: center;
}

#blocktext {
    margin-top: 25px;
    font-weight: 300;
    text-align: center;
    font-size: 1.3rem;
}

img.svgimg {
    width: 90px;
    height: 90px;
    margin-bottom: 0px;
    pointer-events: none;
}

.noclick {
    pointer-events: none;
}

#svgimg3 {
    margin-top: 20px;
}

.blocknarrower p {text-align: center;}

p.sectionp {
    margin-bottom: 30px;
}

.subblocktext {
    width: 80%;
}

.content2 {
    padding-left: 50px;
    padding-right: 50px;
}

#sbt2 {text-align: right; width: 75%; margin-left: auto;}

#sbi1 {
    background: url(../images/carousel/carousel20.jpg) no-repeat;
    background-size: contain;
    margin-left: auto;
    background-position: right;
}

#sbi2 {background: url(../images/carousel/carousel24.jpg) no-repeat; background-size: contain;}

#sbi3 {
    background: url(../images/carousel/carousel7.jpg) no-repeat;
    background-size: contain;
    margin-left: auto;
    background-position: right;
}

.subblockimg {
    width: 100%;
    height: 250px;
}

.subblocktext b {
    display: block;
    font-size: 1.3rem;
}

#svgapply { padding-left: 15px; }

.whiteblock2 {
    background: rgba(253, 197, 46, 1);
    color: #17718d;
}

#lastblock {border-bottom: 0px solid transparent;}

.whiteblock2 h3 { color: #17718d; }
.whiteblock2 .whiteblocktext h3 { color: rgba(23, 113, 141, 1); }

#contactblock {align-self: center;}

#fbblock {
    margin-bottom: 20px;
}

footer div.subblock p a {
    color: black;
    text-decoration: none;
}

#ablogo {
    width: 20px;
    height: 20px;
    margin-left: 5px;
}


/* =======================================> RWD <========================================= */


@media screen and (min-width: 500px) {
    nav {font-size: 1.4em;}
}

@media screen and (min-width: 650px) {
    nav {font-size: 1.5em;}

    .content {
        padding: 0px 70px;
    }

    h1.mainh1 {
        font-size: 4em;
    }

    #blocktext {
        font-size: 1.8rem;
    }

    .content h3 { font-size: 2.4rem; }

    .whiteblocktitle {
        font-size: 2.4rem;
    }

    .subblocktext {
        width: 28%;
    }

    .subblockimg {
        width: 68%;
    }

    #sbt2 {width: 28%; text-align: left; margin-left: 0; }
    #sbi2 {width: 68%; margin-left: 0; background-position: right; margin-left: auto;}

    .subblocktext b { margin-bottom: 10px; }

    .content2 .block {
        display: flex;
        justify-content: center;
    }
}

@media screen and (min-width: 990px) {
    nav {
        font-size: 0.9em;
    }

    .blocknarrower, .whiteblocktext {
        display: flex;
        justify-content: center;
    }

    footer .content {
        display: flex;
        justify-content: space-around;
    }

    #navbarsExample05 ul {padding-left: 0;}

    #svgimg3 {
        margin-top: 0px;
    }

    .block {
        display: flex;
        justify-content: center;
    }

    .block button {
        margin: 10px;
    }

    .subblock {
        flex-basis: 50%;
        padding: 20px;
    }

    .content {
        padding: 0px 180px;
    }

    #gallery {
        padding: 0 20px;
        width: 45%;
    }

    #blocktext {
        padding: 0 20px;
        width: 54%;
    }

    #buttonkillflex {
        align-items: center;
        margin-top: 20px;
    }

    .subblockimg, #sbi2 {
        width: 68%;
        background-size: cover!important;
    }

    .subblocktext {width: 30%; padding-right: 15px;}
}

/* =======================================> NON-INDEX CONTENT <========================================= */

section.maintemplate {
    background-color: rgba(23, 113, 141, 1);
    width: 100%;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
    color: white;
    padding: 20px;
}

section.featured {
    width: 100%;
    height: 375px;
    text-align: center;
    z-index: 1;
}

section.featureddark {
    z-index: 5;
    padding-top: 190px;
    background-color: rgba(0,0,0,0.4);
    height: 375px;
}

section.featureddark h2 {
    font-family: "Myriad Pro";
    color: white;
    text-shadow: 1px 1px black;
}

section.maintemplate a, section.maintemplate a:visited {
    color: powderblue;
    font-style: italic;
}

section.maintemplate p {
    margin-top: 15px;
}

.form-contact input, .form-contact textarea {
    border: 1px solid lightgray;
    border-radius: 15px;
    padding: 10px;
}

.form-contact p:last-child input {
    background: #f9c815;
    transition-duration: 0.5s;
}

.form-contact p:last-child input:hover {
    opacity: 0.85;
    cursor: pointer;
}

.sevenissues {
    width: 100%;
    height: auto;
    margin: 0 auto;
    font-size: 0.9rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    align-content: center;
}

.sevenissues a {
    text-align: center;
    align-items: center;
    justify-content: space-around;
    font-style: normal!important;

    width: 220px;
    height: 50px;
    padding-top: 5px;
    margin: 5px;
    transition-duration: 0.5s;
}

.sevenissues a, .sevenissues a:hover, .sevenissues a:visited {
    color: white!important;
    text-decoration: none!important;
}

.sevenissues a:hover {
    transform: translateY(-10px);
}

.sevenissues a span:first-of-type {
    font-size: 1.4rem;
}
.sevenissues a span {
    height: auto;
}

.sevenissuesplayer {
    width: 90%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: space-around;
    font-size: 1.4rem;
}

.sevenissuesplayer div {
    display: flex;
    flex-direction: row;
}

.sevenissuesplayer p {
    height: 60px;
    width: 60px;
    border-radius: 10px;
    margin: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tabcontent p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.tabcontent a {
    font-style: normal!important;
}

.sevenissuesplayer a, .sevenissuesplayer a:hover, .sevenissuesplayer a:visited  {
    color: white!important;
    text-decoration: none!important;
}

.issueselector, .issueplayer {
    background: rgba(12,12,24,0.45);
    padding: 10px;
    border-radius: 10px;
}

.curpoint {
    cursor: pointer;
}

.caps {
    text-transform: uppercase;
}

.hlt {
    color: rgb(249, 200, 21)!important;
}

.display-grid {
    display: grid!important;
}

.smallersize { font-size: 1.2rem; display: inline-block; max-width: 330px; font-weight: bold;}

.largersize { font-size: 2rem; }

.oplo {
  opacity: 0.6;
}

div.whiteblock2 div.subblock {
    transition: 0.5s;
}

div.whiteblock2 div.subblock:hover {
    transform: translateY(-10px);
}

@media screen and (min-width: 820px) {
    .sevenissues {
        flex-direction: row;
    }

    .sevenissuesplayer {
        flex-direction: row;
        align-items: center;
    }

    .sevenissuesplayer p {
        margin-left: 30px;
        margin-right: 30px;
    }

    .sevenissuesplayer div:last-of-type {
        margin-left: -110px;
    }

    .sevenissues a { height: 80px; width: 200px; display: flex; flex-direction: column; align-items: center;}

    .smallersize { font-size: 1.4rem; max-width: 400px; }

    .sevenissuesplayer a {
        height: 70px;
        width: 70px;
        font-size: 1.7rem;
    }
}

/* =======================================> WHO WE ARE MODAL <========================================= */

.whoperson img {
    width: 80px;
    border: 3px solid transparent;
    box-shadow: 2px 1px 5px transparent;
    border-radius: 50%;
    transition: 0.5s;
}

.whoperson:hover img {
    border: 3px solid white;
    box-shadow: 2px 1px 5px gray;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    overflow-x: hidden;
    background-color: rgba(23, 113, 141, 1); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    color: white;
}

/* Modal Content/Box */
.modal-content {
    background-color: rgba(23, 113, 141, 1);
    margin: 10% auto; /* 15% from the top and centered */
    padding: 15px;
    border: 1px solid #888;
    width: 85%; /* Could be more or less, depending on screen size */

    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.3s;
}

.modal-dynamic {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.selectedimage {
    height: 200px;
    width: 200px;
    min-width: 200px;
    margin-bottom: 10px;
    margin-right: 20px;
    border-radius: 50%;
}

a.linkPersonal {
    background: url(../images/linkPersonal.png) no-repeat;
    background-size: contain;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-right: 10px;
}

a.linkLinkedin {
    background: url(../images/linkLinkedin.png) no-repeat;
    background-size: contain;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-right: 10px;
}

a.linkFacebook {
    background: url(../images/linkFacebook.png) no-repeat;
    background-size: contain;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-right: 10px;
}

a.linkInstagram {
    background: url(../images/linkInstagram.png) no-repeat;
    background-size: contain;
    height: 50px;
    width: 50px;
    display: inline-block;
    margin-right: 10px;
}

/* Add Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    text-align: right;
    margin-right: 10px;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media screen and (min-width: 460px) {
    .whoperson img {
        width: 110px;
    }
}

@media screen and (min-width: 700px) {
    .modal-dynamic {
        flex-direction: row;
    }
}

/* =======================================> ALUMNI MODAL <========================================= */

div.alumni {
    overflow: hidden;
    height: 300px;
}

p.alumnititle {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 200;
}

div.alumni:hover {
    cursor: pointer;
}

div.alumnioverlay {
    transition-duration: 0.6s;
}

#alumnijimi {
    background: url('../images/pages/alumni-jimi.jpeg') no-repeat;
    background-size: cover;
    max-width: 100%;
}

#alumnibabar {
    background: url('../images/pages/alumni-babar.jpg') no-repeat;
    background-size: cover;
    max-width: 100%;
}

#alumnijr {
    background: url('../images/pages/alumni-jr.jpg') no-repeat;
    background-size: cover;
    max-width: 100%;
}

div.alumnioverlay {
    margin-top: 90px;
    height: 300px;
    background: rgba(0,0,0,0.45);
    color: white;
}

#myModal #gallery {
    width: 350px;
    height: auto;
    margin-bottom: 15px;
}

#myModal a { color: lightblue; }

#partnersrh {
    background: url('../images/pages/partners-rh.png') no-repeat;
    background-size: cover;
    background-position-y: -70px;
    max-width: 100%;
}

#partnerscfa {
    background: url('../images/pages/partners-cfa.jpg') no-repeat;
    background-size: cover;
    max-width: 100%;
}

#partnersfm {
    background: url('../images/pages/partners-fm.png') no-repeat;
    background-size: cover;
    max-width: 100%;
}

#partnerstime {
    background: url('../images/pages/partners-time.png') no-repeat center;
    background-size: cover;
    max-width: 100%;
}

#partnersgms {
    background: url('../images/pages/partners-gms.png') no-repeat center;
    background-size: cover;
    max-width: 100%;
}

#partnersinti {
    background: url('../images/pages/partners-inti.jpg') no-repeat center;
    background-size: cover;
    max-width: 100%;
}

@media screen and (min-width: 768px) {
    div.modal-dynamic img {
        float: left;
        margin-right: 20px;
    }

    div.alumnioverlay {
        margin-top: 500px;
    }

    div.alumni:hover div.alumnioverlay {
        margin-top: 50px;
    }
}

/* =======================================> TOOLTIP.js <========================================= */

#tooltip {
	position:absolute;
	background:#FFFFFF;
	color:#000000;
	padding:8px;
	z-index:999;
    border-radius: 10px;
}

#tooltip.alt-tooltip {
	background:#FFFFFF;
}

/* =======================================> ANIMATION <========================================= */

@keyframes fadein {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeinbg {
    0% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes wiggle {
    0% {
        transform: rotate(0);
    }
    25% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
    100% {
        transform: rotate(0);
    }
}

@keyframes scrollableloop {
    from {transform: translateY(0) rotate(-45deg);}
    to {transform: translateY(-20px) rotate(-45deg);}
}
