﻿h1 {
    color: #8c003f;
    font-size: 25px;
}
h2{color: #35095a; font-size:23px;}
h3{color: #000; font-size:21px;}
h4{color: #222; font-size:19px;}
h5{color: #333; font-size:18px;}
h6{color: #444; font-size:14px;}
a:hover{text-decoration:none;}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
/* Custom page CSS*/
.container{max-width:85%;width: 100%;}
/* header CSS*/
.right-logo {
  max-width: 230px;
}
.topBar {
   /* background: linear-gradient(339deg, #0062cc 35%, #240b5f 100%);*/
    background: linear-gradient(339deg, rgba(36, 11, 95, 1) 35%, rgba(140, 0, 63, 1) 100%);
}
.headerlogobar { /*background:rgb(254 255 235 / 58%);*/
    background: white;
}
/* banner CSS*/
.banner img{width: 100%;}
.iconsbtn {
    background: #8c003f;
    background: linear-gradient(339deg, rgba(36, 11, 95, 1) 35%, rgba(140, 0, 63, 1) 100%);
}
.iconsbtn  .button{
    width:100%;
    height:100%;
    cursor:pointer;
    position:relative;
    box-sizing:border-box;
    overflow:hidden;
    border:1px solid #7358b5 !important;
  }
  .iconsbtn .button a { 
    font-size: 18px;
    text-decoration: none;
    line-height: 40px;
    transition: all .5s ease;
    z-index: 2;
    position: relative;
    display: block;
}
    .iconsbtn .effact {
        width: 100%;
        height: 100%;
        bottom: -100%;
        background: #15043dcf;
        position: absolute;
        transition: all .5s ease;
        z-index: 1;
    }
  .iconsbtn .button:hover .effact{
    bottom:0;
  }
  .iconsbtn .effact + a img {
    display: block;
    margin: auto;
}  

.textcontrols button {
  border: 2px solid #08b1e8;
  background: transparent;
  border-radius: 25px;
  width: 45px;
  min-height: 30px;
  color: #FFF;
  text-align: center;
  font-weight: bold;
  height: auto;
  line-height: inherit;
}
.textcontrols button:hover{
  border: 2px solid #08b1e8;
  background: #08b1e8;
   color: #FFF;

}

.language-select, .language-select:focus {
  border: 2px solid #240b5f;
  background: #240b5f;
  color: #fff;
  margin-left: 10px;
  margin: 6px;
  padding: 0 20px 3px 10px;
  border-radius: 10px;
  height: 35px;
  outline: none !important;
  line-height: inherit;

}
.language-select:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/* main CSS*/
.form-header {
  background: #240b5f;
  border: 1px solid #452f77;
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 20px;
  color: #fff;
}
select.form-control {
  padding: 8px 5px;
  height: calc(1.7em + .75rem + 2px) !important;
}
label {
  color: #240b5f;
}
.btn.focus, button:focus, .btn:focus, input:focus{outline: none; border: none; box-shadow: none;}
.custom-file-label{
  border: 1px solid #ffaad0;
}
.custom-control-label::before{
    background-color: #d8d1e6;
    border: 1px solid #ffaad0;
}
:focus{outline: none; border: none; box-shadow: none;}
.form-control:focus{outline: none;     border: 1px solid #ffaad0;    padding: .375rem .75rem !important; box-shadow: none;}
.inputBorder{position:relative;} /* necessary to give position: relative to parent. */
.form-control {
    border: 1px solid #0062cc;
    transition: 0.4s;
    border-radius: 0;
}
.form-control ~ .focus-border:before,
.form-control~ .focus-border:after{content: ""; position: absolute; top: 0; right: 0; width: 0; height: 2px; background: rgb(36,11,95);
  background: linear-gradient(339deg, rgb(134 86 247) 35%, rgb(255 0 114) 100%);
  transition: 0.2s;transition: 0.2s; transition-delay: 0.2s;}
.form-control ~ .focus-border:after{top: auto; bottom: 0; right: auto; left: 0; transition-delay: 0.6s;}
.form-control ~ .focus-border i:before,
.form-control ~ .focus-border i:after{content: ""; position: absolute; top: 0; left: 0; width: 2px; height: 0; background: rgb(36,11,95);
  background: linear-gradient(339deg, rgb(134 86 247) 35%, rgb(255 0 114) 100%);
  transition: 0.2s; transition: 0.2s;}
.form-control ~ .focus-border i:after{left: auto; right: 0; top: auto; bottom: 0; transition-delay: 0.4s;}
.form-control:focus ~ .focus-border:before,
.form-control:focus ~ .focus-border:after{width: 100%; transition: 0.2s; transition-delay: 0.6s;}
.form-control:focus ~ .focus-border:after{transition-delay: 0.2s;}
.form-control:focus ~ .focus-border i:before,
.form-control:focus ~ .focus-border i:after{height: 100%; transition: 0.2s;}
.form-control:focus ~ .focus-border i:after{transition-delay: 0.4s;}

.submitbtn {
    background: rgb(36, 11, 95);
    cursor: pointer;
    border-radius: 5px;
    display: table;
    background: linear-gradient(339deg, rgba(36, 11, 95, 1) 35%, rgba(140, 0, 63, 1) 100%);
    box-shadow: 5px 2px 10px rgba(0, 0, 0, 0.5);
}
.submitbtn .button{
  width:100%;
  height:100%;
  cursor:pointer;
  position:relative;
  box-sizing:border-box;
  overflow:hidden;
  cursor: pointer;
  
}
.submitbtn .button input {
  font-size: 17px;
  text-decoration: none;
  transition: all .5s ease;
  z-index: 2;
  position: relative;
  display: block;
  background-color: transparent;
  border: none;
  color: #fff;
  padding: 10px 15px; cursor: pointer;

}
.submitbtn .effact {
  width: 100%;
  height: 100%;
  bottom: -100%;
  background: #35095a;
  position: absolute;
  transition: all .5s ease;
  z-index: 1;
  border-radius: 30px;
}
.submitbtn .button:hover .effact{
  bottom:0;
}
.custom-file-label{border-radius:0;}
.custom-file-label::after {
  color: #fff;  background-color: #8c003f;border-radius:0; border-color:#8c003f ;

}
.custom-radio .custom-control-input:checked~.custom-control-label::before, .custom-checkbox .custom-control-input:checked~.custom-control-label::before {
  background-color: #240b5f;
}
.modal-header {
  padding: 0.5rem 1rem;
  background: #240b5f;
}
.modal-title {
  color: #fff;
  font-size: 20px;
  padding: 0;
  margin: 0;
}.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
  color: #fff;
  opacity: 1;
}
.btn{border: none; border-radius: 4px; padding:10px 20px; box-shadow: none;}
.btn-primary:focus{box-shadow: none; border: none; background: none;}
.btn-primary {
    background: #35095a;
    background: linear-gradient(339deg, rgba(36,11,95,1) 35%, #007bff 100%);
}  
.btn-primary:hover{background-color: #8c003f !important;}



/*tab panel*/
nav > .nav.nav-tabs{
	border: none;
	  color:#fff;
	  /*background:#272e38;*/
	  border-radius:0;
	  text-align: center;	  
  
  }
nav > div a.nav-item.nav-link, nav > div a.nav-item.nav-link.active {
    border: none;
    padding: 10px 25px;
    color: #fff;
    background: #0a2876;
    border-radius: 9px;
    border-bottom: 3px solid #240b5f;
}
nav > div a.nav-item.nav-link:after {
    content: "";
    position: relative;
    bottom: -44px;
    left: -6%;
	border: 15px solid transparent;
	}
nav > div a.nav-item.nav-link.active:after {
    content: "";
    position: relative;
    bottom: -44px;
    left: -6%;
    border: 15px solid transparent;
	border-top-color: #240b5f;
	border-radius:30px;
}
.tab-content {
    background: #fdfdfd;
    line-height: 25px;
    border: none;
    border-top: 2px solid #0062cc;
    border-bottom: 5px solid #0062cc;
    padding: 30px 25px;
    margin-top: 15px;
}
nav > div a.nav-item.nav-link:hover,
nav > div a.nav-item.nav-link:focus {
    border: none;
    background: #0f8cdb;
    color: #fff;
    transition: background 0.20s linear;
}



  /*news*/
/* include the board in the center of the viewport */
.board {
    /* max-width: 800px;
  width: 90vw;
  margin: 4rem auto; */
    /* display grid without specifying any structure, at least beyond the media query
  this is mostly helpful for alignment purposes
  */
    display: grid;
    border: 0px solid #240b5f;
    background: #fff;
    box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.3);
    /* position relative to absolute position the pseudo element */
    position: relative;
}
/* include a slightly rotated rectangle of the same size of the board, right behind it */
.board:before {
  position: absolute;
  content: "";
  background: #240b5f;
  width: 100%;
  height: 100%;
  transform: rotate(-2deg) scale(1.02);
  z-index: -5;
}

/* for the heading include a slightly darker background */
.board__heading {
    /* margin to have the heading overlap on the surrounding border */
    margin: -4px;
    margin-bottom: 1.75rem;
    font-family: "Chivo", sans-serif;
    font-size: 1.25rem;
    color: #fff;
    background:#0062cc;
    padding: 0.75rem;
    padding-left: 1.5rem;
}

/* navigation displaying the items evenly in a non-wrapping row */
.board__nav {
  display: flex;
  margin: 1rem 2rem;
  justify-content: space-evenly;
  width:100%;
  justify-self: center;
}
/* style the buttons to have a bit of whitespace around the text
a background is specified in the script */
.nav--item {
  border: none;
  background: none;
  color: inherit;
  font-size: 0.85rem;
  font-family: inherit;
  text-transform: capitalize;
  border-radius: 30px;
  letter-spacing: 0.05rem;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
}

/* on hover and focused slightly decrease the color of the button and add an underline */
.nav--item:hover,
.nav--item:focus {
  color: hsl(0, 0%, 35%);
  text-decoration: underline;
}

/* for the section describing the news items, display the items in a single column layout */
.board__news {
  display: flex;
  margin: 1rem 0 3rem;
  flex-direction: column;
  width:90%;
  justify-self: center;
  /* dictate a maximum height to allow for vertical scroll */
  max-height: 300px;
  overflow-y: auto;
}
/* minor style changes for the scrollbar */
.board__news::-webkit-scrollbar {
  width: 0.25rem;
}
.board__news::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px hsla(200, 100%, 5%, 0.3);
}
.board__news::-webkit-scrollbar-thumb {
  background: hsl(200, 100%, 10%);
  border-radius: 5px;
}

/* remove the default properties of the anchor links describing the news items */
.news--item {
  text-decoration: none;
  color: inherit;
  margin: 1.25rem 0;
  padding-left: 0.75rem;
}
/* on hover and when focused slightly decrease the weight of the anchor links */
.news--item:hover,
.news--item:focus {
  color: hsl(0, 0%, 35%);
}
.news--item .date {
  font-size: 11px;
  background: #880140;
  display: table;
  padding: 2px 6px;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
}
.news--item .brief {
  font-size: 0.9rem;
}

/* on smaller viewports */
@media (max-width: 700px) {
  /* change the grid layout to have the heading atop the navigation and section elements */
  .board {
    grid-template-areas: "heading heading" "nav section";
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto 1fr;
  }
  .board__heading {
    grid-area: heading;
  }
  /* position the navigation items atop one another instead of side by side */
  .board__nav {
    grid-area: nav;
    flex-direction: column;
    /* at the top of the container */
    align-self: start;
  }
  .board__nav .nav--item {
    text-align: left;
    margin: 0.75rem 0;
  }

  /* slightly increase the height of the container to include a taller board */
  .board__news {
    grid-area: section;
    width: 90%;
    max-height: 380px;
  }
}
/* footer CSS*/
html {
    position: relative;
    min-height: 100%;
}
body {
	 margin-bottom: 60px;
   background: #f2f2f2;
   min-height: 100vh;
   min-height: -webkit-fill-available;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: linear-gradient(339deg, rgba(36, 11, 95, 1) 35%, rgba(140, 0, 63, 1) 100%);
}
.nic-footer-logo {
    max-width: 120px;
    width: 100%;}
.footer p{margin: 0;}
ul {
  margin: 0px;
  padding: 0px;
}
.footer-section {
    background: #8f0650;
    /* border-bottom: 1px solid #373636;*/
    color: white;
}

.single-cta i {
    color: #0062cc;
    font-size: 30px;
    float: left;
    margin-top: 8px;
}
.cta-text {
padding-left: 15px;
display: inline-block;
}
.cta-text h4 {
color: #fff;
font-size: 20px;
font-weight: 600;
margin-bottom: 2px;
}
.cta-text span {
color: #fff;
font-size: 15px;
}

/* after login page CSS*/
.afterLoginPage{margin: 0;}
.afterLoginPage main{min-height:80vh}
.afterLoginPage .footer{position: inherit;
min-height: 100%;}


.register {
    background: -webkit-linear-gradient(left, #3931af, #00c6ff);
    background: linear-gradient(339deg, rgba(36, 11, 95, 1) 35%, rgba(140, 0, 63, 1) 100%);
    padding: 0;
    margin: 0;
    /* box-shadow:5px 2px 10px rgba(0, 0, 0, 0.5); */
}
.register .tab-content {
  background:#f8f9fa;
  line-height: 25px;
  border: none;
  border-top:none;
  border-bottom:none;
  padding: 30px 25px;
  margin-top: 0;
}
.register-left{
  text-align: center;
  color: #fff;
  margin-top: 4%;

}
.register-left input{
  border: none;
  border-radius: 1.5rem;
  padding: 2%;
  width: 60%;
  background: #f8f9fa;
  font-weight: bold;
  color: #383d41;
  margin-top: 30%;
  margin-bottom: 3%;
  cursor: pointer;
}
.register-right{
  background: #f8f9fa;
  border-top-left-radius: 10% 50%;
  border-bottom-left-radius: 10% 50%;
  height: 100vh;
  overflow: hidden;
}
.register-left i{
  margin-top: 15%;
  margin-bottom: 5%;
  width: 25%;
  -webkit-animation: mover 2s infinite  alternate;
  animation: mover 1s infinite  alternate;
}
@-webkit-keyframes mover {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}
@keyframes mover {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}
.register-left p{
  font-weight: lighter;
  padding: 12%;
  margin-top: -9%;
}
.register .register-form{
  padding:7%  10%;
  margin-top: 10%;
}
.btnRegister{
  float: right;
  margin-top: 10%;
  border: none;
  border-radius: 1.5rem;
  padding: 2%;
  background: linear-gradient(339deg, rgba(36,11,95,1) 35%, rgba(140,0,63,1) 100%);
  color: #fff;
  font-weight: 600;
  width: 50%;
  cursor: pointer;
  
}
.register .nav-tabs {
    /* margin-top: 3%; */
    border: none;
    background: linear-gradient(339deg, rgba(36, 11, 95, 1) 35%, rgba(140, 0, 63, 1) 100%);
    border-radius: 1.5rem;
    margin: auto;
    width: 100%;
    max-width: 80%;
}
.register .nav-tabs .nav-link{
  padding: 2%;
  font-weight: 600;
  color: #fff;
  border-top-right-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}
.register .nav-tabs .nav-link:hover{
  border: none;
}
    .register .nav-tabs .nav-link.active {
        color: #7b0244;
        border: 2px solid #780246;
        border-top-left-radius: 1.5rem;
        border-bottom-left-radius: 1.5rem;
    }
.register-heading{
  text-align: center;
  margin-bottom: -15%;
}


.sec-title{
	position:relative;
	margin-bottom:20px;
}

.sec-title .title{
	position: relative;
    color: #a321b9;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.sec-title h1{
    position: relative;
    color: #452f77;
      	font-size:30px;
	z-index:1;
    text-transform: capitalize;
}

.sec-title .big-title{
    position: relative;
    color: #f4f4f4;
    font-weight: 700;
    line-height: 1em;
	font-size:72px;
	margin-top:-26px;
	letter-spacing:3px;
	text-transform:uppercase;
}

.sec-title .separator{
	position:relative;
	width:60px;
	height:14px;
	background-position: center;
	animation: slide 10s linear infinite;
	-webkit-animation: slide 10s linear infinite;
  background-image: url(../img/separator.png);
}

@keyframes slide{
	from { background-position: 0 0; }
    to { background-position: -200px 0; }
}

@-webkit-keyframes slide{
	from { background-position: 0 0; }
    to { background-position: -200px 0; }
}

.sec-title.centered .separator{
	margin:0 auto;
}

.sec-title.centered{
	text-align: center;
}

.sec-title.centered .text{
	max-width:580px;
	margin:0 auto;
}

table .btn{padding: 5px; border-radius: 10px;}
ul.timeline {
  list-style-type: none;
  position: relative;
  height: 450px;
}
ul.timeline:before {
  content: ' ';
  background: #d4d9df;
  display: inline-block;
  position: absolute;
  left: 29px;
  width: 2px;
  height: 100%;
  z-index: 400;
}
ul.timeline > li {
  margin: 20px 0;
  padding-left: 50px;
}
ul.timeline > li:before {
  content: ' ';
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 3px solid #22c0e8;
  left: 20px;
  width: 20px;
  height: 20px;
  z-index: 400;
}


.carousel-inner.vertical > .carousel-item {
  -webkit-transition: .6s ease-in-out top !important;
  -o-transition: .6s ease-in-out top !important;
  transition: .6s ease-in-out top !important;
}
@media all and (transform-3d),
(-webkit-transform-3d) {
  .carousel-inner.vertical > .carousel-item {
    -webkit-transition: -webkit-transform .6s ease-in-out !important;
    -o-transition: -o-transform .6s ease-in-out !important;
    transition: transform .6s ease-in-out !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -webkit-perspective: 1000 !important;
    perspective: 1000 !important;
  }
  .carousel-inner.vertical > .carousel-item.carousel-item-next,
  .carousel-inner.vertical > .carousel-item.active.carousel-item-right {
    -webkit-transform: translate3d(0, 33.33%, 0) !important;
    transform: translate3d(0, 33.33%, 0) !important;
    top: 0 !important;
  }
  .carousel-inner.vertical > .carousel-item.carousel-item-prev,
  .carousel-inner.vertical > .carousel-item.active.carousel-item-left {
    -webkit-transform: translate3d(0, -33.33%, 0) !important;
    transform: translate3d(0, -33.33%, 0) !important;
    top: 0 !important;
  }
  .carousel-inner.vertical > .carousel-item.carousel-item-next.carousel-item-left,
  .carousel-inner.vertical > .carousel-item.carousel-item-prev.carousel-item-right,
  .carousel-inner.vertical > .carousel-item.active {
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    top: 0;
  }
}
.carousel-inner.vertical > .active {
  top: 0;
}

.carousel-item  h4{color:#240b5f;}
.carousel-item .card-post{color:#8c003f;}

/* Start Gallery CSS */
.thumb {
    margin-bottom: 15px;
}

    .thumb:last-child {
        margin-bottom: 0;
    }
    /* CSS Image Hover Effects: https://www.nxworld.net/tips/css-image-hover-effects.html */
    .thumb
    figure img {
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
        -webkit-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
    }

    .thumb
    figure:hover img {
        -webkit-filter: grayscale(0);
        filter: grayscale(0);
    }

@keyframes ticker {
	0%   {margin-top: 0}
	25%  {margin-top: -30px}
	50%  {margin-top: -60px}
	75%  {margin-top: -90px}
	100% {margin-top: 0}
}

.news {
  box-shadow: inset 0 -15px 30px rgba(0,0,0,0.4), 0 5px 10px rgba(0,0,0,0.5);
  width: 100%;
  height: 40px;
  margin: 0;
  overflow: hidden;
  border-radius:0;
  padding: 3px;
  -webkit-user-select: none;
}

.news span {
  float: left;
  color: #fff;
  padding: 6px;
  position: relative;
  top: 1%;
  border-radius:0;
  box-shadow: inset 0 -15px 30px rgba(0,0,0,0.4);
  font: 16px 'Source Sans Pro', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  cursor: pointer
}
.news ul {
  float: left;
  padding-left: 20px;
  animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite;
  -webkit-user-select: none
}

.news ul li {line-height: 30px; list-style: none }
.news ul li a {
  color: #fff;
  text-decoration: none;
  font: 14px Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none
}

.news ul:hover { animation-play-state: paused }
.news span:hover+ul { animation-play-state: paused }

/* OTHER COLORS */
.blue {
    background: #102e7c
}
    .blue span {
        background: #dc3545;
        border-radius: 15px;
        padding: 5px 15px;
        font-weight: bold;
    }

.gj-datepicker-md [role=right-icon] {
  position: absolute;
  right: 5px;
  top: 6px;
  font-size: 24px;
  color: #240b5f;
}
.border-primary {
    border-color: #ededed !important;
}
.btn:not(:disabled):not(.disabled) {
    background: linear-gradient(339deg, rgba(36, 11, 95, 1) 35%, #66044b 100%);
}
.bg-info {
    /* background-color: #17a2b8!important; */
    background: linear-gradient(339deg, rgba(36,11,95,1) 35%, #007bff 100%);
}

.btn-danger {
    /*background: linear-gradient(339deg, #240b5f 35%, rgba(140,0,63,1) 100%);*/
    background: linear-gradient(339deg, #b40d1d 35%, rgba(140,0,63,1) 100%);
}
.btn-success {
    /* background: linear-gradient(339deg, rgb(36 11 95) 35%, #4ccf0c 100%);*/
    background: linear-gradient(339deg, rgb(30 9 80) 35%, #0062cc 100%);
}
.btn.disabled, .btn:disabled {
    opacity: 6.65;
}
.btn-light {
    background: linear-gradient(339deg, #1e7e34 35%, #4ccf0c 100%);
    /* background: linear-gradient(339deg, rgb(30 9 80) 35%, #0062cc 100%); */
}
.badge-success {
    color: #fff;
    background-color: #28a745;
    background: linear-gradient(339deg, rgb(23 130 17) 35%, #117a8b 100%);
}
.badge-danger {
    color: #fff;
    background-color: #dc3545;
    background: linear-gradient(339deg, rgb(170 20 20) 35%, rgba(140,0,63,1) 100%);
}
.badge {
    display: inline-block;
    /* padding: 10px 20px; */
    padding: 0.55em 0.9em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
