html {
    position: relative;
    min-height: 100%;
}
 

body {
/* 	font-family: 'Abhaya Libre', serif; */
	font-family: 'Open Sans', sans-serif;
	font-size: 12pt;
    /*min-height: 75rem;*/
	padding: 0px !important;	
	margin:0px;
}

.main-text
{
    position: absolute;
    top: 150px;
    width: 96.66666666666666%;
    color: #FFF;
}
.btn-min-block
{
    min-width: 170px;
    line-height: 26px;
}
.btn-clear
{
    color: #FFF;
    background-color: transparent;
    border-color: #FFF;
    margin-right: 15px;
}
.btn-clear:hover
{
    color: #000;
    background-color: #FFF;
}

/**********************************************/
/* NAV */

#mainNav {
    min-height: 56px;
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid transparent;
}

#mainNav .navbar-toggler {
    padding: 0.75rem;
	color : rgba(0, 52, 148, 1);
    border: 1px solid rgba(0, 52, 148, 1);
}

#mainNav .navbar-toggler:focus {
    outline: none;
}

#mainNav .navbar-brand {
    color: #161616;
    font-weight: 700;
    padding: .9rem 0;
}

#mainNav .navbar-nav .nav-item:hover {
    color: rgba(0, 52, 148, 1);
    outline: none;
    background-color: transparent;
}

#mainNav .navbar-nav .nav-item:active, #mainNav .navbar-nav .nav-item:focus {
    outline: none;
    background-color: transparent;
}

@media (min-width: 992px) {
    #mainNav {
    min-height: 56px;
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid transparent;
    }

    #mainNav .navbar-brand {
        padding: .5rem 0;
        color: rgba(0, 52, 148, 1);
        font-size: 3.2vh;
    }

    #mainNav .nav-link {
        transition: none;
        padding: 2px 1px;
        color: #ffffff;
        font-size: 1rem;
        font-weight: 400;
    }

    #mainNav .nav-link:hover {
        color: rgba(0, 52, 148, 1);
    }

    #mainNav .nav-link:active {
        color: white;
    }

    #mainNav.navbar-shrink {
        background-color: rgba(255, 255, 255, 0.8);
    }

    #mainNav.navbar-shrink .navbar-brand {
        color: rgba(0, 52, 148, 1);
    }

    #mainNav.navbar-shrink .nav-link {
        color: rgba(0, 53, 148, 1);
        padding: 1.5rem 1.5rem 1.25rem;
        border-bottom: 0.25rem solid transparent;
    }

    #mainNav.navbar-shrink .dropdown-menu {
        background: rgba(255, 255, 255, 0.8);
        color: rgba(0, 52, 148, 1);
    }

    #mainNav.navbar-shrink .dropdown-item {
        color: #212529 !important;
    }

    #mainNav.navbar-shrink .dropdown-item:hover, #mainNav.navbar-shrink .dropdown-item:focus {
        background: rgba(0, 52, 148, 0.5);
        color: white !important;
        /* color: rgb(150, 150,150)!important; */
    }

    #mainNav.navbar-shrink .nav-link:hover {
        color: rgba(0,  52,  148, 0.6);
    }

    #mainNav.navbar-shrink .nav-link:active {
        color: rgba(0, 52, 148, 1);
    }

    #mainNav.navbar-shrink .nav-link.active {
        color: rgba(0, 52, 148, 1);
        outline: none;
        border-bottom: 0.25rem solid rgba(0, 52, 148, 1);
    }
}

/* END OF NAV */
/**********************************************/

.masthead {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 35rem;
    padding: 15rem 0;
    /* background: linear-gradient(to bottom, rgba(22, 22, 22, 0.3) 0%, rgba(22, 22, 22, 0.7) 75%, #161616 100%), url("../img/bg-masthead.jpg"); */
}

.masthead::after {
    content: "";
    opacity: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    background-image: url(../images/img1.jpg);
}

.masthead h1 {
    font-size: 2.5rem;
    line-height: 2.5rem;
    /* letter-spacing: 0.8rem; */
    letter-spacing: 0;
    /* background: -webkit-linear-gradient(rgba(0, 0, 0, .9), rgba(20, 20, 20, 1)); */
    background: white;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.masthead h2 {
    max-width: 20rem;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .masthead h1 {
        font-size: 4rem;
        line-height: 4rem;
    }
}

@media (min-width: 992px) {
    .masthead {
        height: 100vh;
        padding: 0;
    }

    .masthead h1 {
        font-size: 5rem;
        line-height: 6.5rem;
        letter-spacing: 0rem;
    }

    .masthead h2 {
        max-width: 30rem;
        font-size: 1.25rem;
    }

    .dropdown-menu {
        border-color: white;
    }

    .dropdown-item {
        color: rgba(0, 0, 0, .8) !important;
    }

    .dropdown-item:hover, .dropdown-item:focus {
        background: transparent;
        color: rgb(150, 150, 150) !important;
    }
}


/**********************************************/
/* ABOUT SECTION */

.about-section {
    padding-top: 3rem;
    /* background: linear-gradient(to bottom, #161616 0%, rgba(22, 22, 22, 0.9) 75%, rgba(22, 22, 22, 0.8) 100%); */
    background: #fff;
}

.about-section p {
    margin-bottom: 3rem;
    color: #121212;
}


/**********************************************/
/* PROJECTS SECTION */

.projects-section {
    padding: 1rem 0;
}

.projects-section .featured-text {
    padding: 3rem;
}

@media (min-width: 992px) {
    .projects-section .featured-text {
        padding: 0 0 0 2rem;
        border-left: 0.5rem solid rgba(0, 52, 148, 1);
    }
}

.projects-section .project-text {
    padding: 3rem;
    font-size: 90%;
}

@media (min-width: 992px) {
    .projects-section .project-text {
        padding: 5rem;
    }

    .projects-section .project-text hr {
        border-color: rgba(0, 52, 148, 1);
        border-width: .25rem;
        width: 30%;
    }
}

/**********************************************/
/* SIGN UP SECTION */

.signup-section {
    padding: 3rem 0;
    background: linear-gradient(to bottom, rgba(22, 22, 22, 0.1) 0%, rgba(22, 22, 22, 0.5) 75%, #161616 100%), url("../img/bg-signup.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.signup-section .form-inline input {
    box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
    padding: 1.25rem 2rem;
    height: auto;
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    border: 0;
}

/**********************************************/
/* CONTACT SECTION */

.contact-section {
    padding: 1em 0 0 0;
}

.contact-section .card {
    border: 0;
    border-bottom: 0.25rem solid rgba(0, 52, 148, 1);
}

.contact-section .card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

.contact-section .card hr {
    border-color: rgba(0, 52, 148, 1);
    border-width: 0.25rem;
    width: 3rem;
}

.contact-section .social {
    margin-top: 3rem;
}

.contact-section .social a {
    text-align: center;
    height: 3rem;
    width: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100%;
    line-height: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.contact-section .social a:hover {
    color: rgba(255, 255, 255, 0.5);
}

.contact-section .social a:active {
    color: #fff;
}

/**********************************************/
/* CUSTOM BASE */
a {
    color: rgba(70, 130, 255, 1);
}

a:focus, a:hover {
    text-decoration: none;
    color: #3c6360;
}

.bg-black {
    background-color: #fff !important;
}

.primary {
    color: rgba(0, 52, 148, 1) !important;
}
.bg-primary {
    background-color: rgba(0, 52, 148, 1) !important;
}

.text-primary {
    color: rgba(0, 52, 148, 1) !important;
}

footer {
    padding: 1rem 0;
    /* border-top: 1px solid black; */
}

footer .container {
    margin-top: 0 !important;
}

.dropdown-menu {
    margin: 0;
    top: 99%;
    background: rgba(255, 255, 255, 0.8);
    /* color: rgba(0, 184, 255, 0.82); */
}

.text-white {
    color: #161616 !important
}

.text-white-50 {
    color: #161616 !important
}

.social a {
    color: #161616 !important
}

@media (max-width: 768px) {
	#carousel-1 {
		margin-top: 110px;
	}
}

.carousel-caption {
	background-color:  rgba(0, 0, 0, 0.3);
	border-radius: 5px;
}

/**********************************************/
/* CARD FLIP */
.card {
  /* margin-bottom: 10px; */
  height: 100%;
}

.card-img {
  height: 100%;
  object-fit: cover;
}

.card-img-back {
    height: 100%;
    object-fit: cover;
    -webkit-transform: scaleX(-1); 
    transform: scaleX(-1); 
    opacity: 0.5;
}
  
.card-flip {
  -webkit-perspective: 1000px;
          perspective: 1000px;
          margin-bottom: 30px;
}
.card-flip:hover .flip, .card-flip.hover .flip {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.card-flip, 
.front,
.back {
  width: 100%;
  /* height: 100%; */
  /* padding-top: 100%; */
}

.flip {
  transition: 0.6s;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  position: relative;
}
.front,
.back {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

.front {
  z-index: 2;
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
}

.back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.card-img-overlay {
	padding: 0px;
	margin: 0px;
}

.card-block {
	padding: 0px;
	margin: 0px;
}

.card-block-top {
	background-image: linear-gradient(#e5e5e5 0%, rgba(255, 255, 255, .2) 100%);

}

.card-title {
	padding: 5px;
	margin: 0px;
}

.card-title-back {
	background-image: linear-gradient(#e5e5e5 0%, #ffffff 100%);
/*     background-color: rgba(240, 240, 240, 1) !important; */
}

.card-subtitle {
	padding: 5px;
	padding-top: 0px;
	margin: 0px;
}

.card-text {
	padding: 5px;
/* 	padding-top: 18px; */
/* 	padding-right: 0px; */
	margin: 0px;
}

.card-link {
	text-align: right;
	padding: 5px;
	margin: 0px;
}

.card-img-default {
/*
	-webkit-filter: blur(2px);
	filter: blur(2px);
*/
}
@media (max-width: 768px) {

}

/**********************************************/
/* CARD T1 */
.card-t1 {
	margin-bottom: 30px;
}

/**********************************************/
/* GENERAL CORRECTIONS  */

.dropdown-item.active, .dropdown-item:active {
	color : white;
	background-color: rgba(0, 52, 148, 0.5);
}


/**********************************************/
/* images in ITEM  */

.image-row {
  text-align: center;
}

@media (min-width: 720px) {
  .image-row {
    text-align: left;
  }
}
.lighbox-image-link {
  display: inline-block;
  padding: 4px;
  margin: 0 0.5rem 1rem 0.5rem;
  background-color: var(--bg-color);
  line-height: 0;
  border-radius: var(--border-radius-large);
}
.lighbox-image-link:hover {
  background-color: var(--primary-color);
}

.lighbox-image {
  width: 7rem;
  border-radius: 5px;
}

.iedit {
	size: 10pt;
	color: #d2d2d2;
}
.iedit:hover {
	color: rgba(0, 52, 148, 0.5);
}

.shopBout {
	color : red !important;
	
}
