@font-face {
    font-family: Varela Round;
    src: url(VarelaRound-Regular.ttf);

}

body {
  transition: background 0.5s;
  font-family: 'Varela Round', sans-serif !important;
}


.left-aligned { margin-left: auto; }
.bg-dark { background-color: var(--secondary-color) !important; transition: background 0.5s}
.bg-hero { background-color: var(--primary-color); transition: background 0.5s;
}

:root{
    --primary-color: #ecf0f1;
    --primary-background: #ecf0f1;
    --secondary-color: #1C3740;
    --font-color: #000106;
    --table-color: #82101B;
    --link-color: #82101B;
    --link-hover-color: #82101BC9;
}

.dark-theme{
    --primary-color: #1c3740;
    --primary-background: #1c3740;
    --secondary-color: #1C3740;
    --font-color: #fff;
    --table-color: #EDBE87;
    --link-color: #EDBE87;
    --link-hover-color: #EDBE87C9;
}

#icon{
  width: 20px;
  cursor: pointer;
  padding-bottom: 1px;
}

.col-lg-8{
  text-align:justify;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: var(--table-color) !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: #edbe87 !important;
}

@media (max-width: 1000px) {
  .navbar-brand{
    position: relative !important;
  }
  .smoll{
    display:none;
  }
}


@media (max-width: 770px) {
  .btn-3{
    width: 200px !important;
    font-size: 0.8rem !important;
  }
}

/* side menu */
.sideMenu{
  overflow: auto;
  width: 90%;
}

.list-group-item.active {
  z-index: 2;
  color: var(--table-color) !important;
  background-color: transparent !important;
  border-bottom-color: var(--table-color) !important;
  border-top-color: transparent;
}
h1{
  padding-bottom: 10px;
}
.list-group-item {
  background-color: transparent !important;
}

.list-group-item-action:focus, .list-group-item-action:hover {
  z-index: 1;
  color: var(--table-color) ;
}

.subheading:hover{
  color: var(--table-color) !important;
}

.subsubheading:hover{
  color: var(--table-color) !important;
}
/* no work for firefox */
.sideMenu::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

.sideMenu::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

.sideMenu::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #1c3740;
}

.subheading{
  padding-left: 35px;
}

.subsubheading{
  padding-left: 50px;
}

.header {
  font-size: 20px;
}
/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* footer */
footer a { color: #EDBE87; font-weight: bold; text-decoration: none; }
footer a:hover { color: #EDBE87; text-decoration: underline; }

/* second design for flip card */
.flip {
  position: relative;
}
.flip > .front, .flip > .back {
  display: block;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-duration: 0.8s;
  transition-property: transform, opacity;
}
.flip > .front {
  transform: rotateY(0deg);
}
.flip > .back {
  position: absolute;
  opacity: 0;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transform: rotateY(-180deg);
  text-align: center;
  overflow: auto;
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}

.back::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.flip:hover > .front {
  transform: rotateY(180deg);
}
.flip:hover > .back {
  opacity: 1;
  transform: rotateY(0deg);
}
.flip {
  position: relative;
  display: inline-block;
  margin: auto;
  margin-bottom: 20px;
  width: 100%;
  height: 430px;
  text-align: center;
}
.flip > .front, .flip > .back {
  display: block;
  color: white;
  width: 100%;
  background-size:   contain !important;
  background-position: center !important;
  height: 100%;
  padding: 1em 2em;
  background: #313131;
  border-radius: 10px;
  background-repeat: no-repeat;
}
.flip > .front p, .flip > .back p {
  font-size: 0.9125rem;
  line-height: 160%;
  color: #999;
}
.text-shadow {
  text-shadow: 1px 1px rgba(0, 0, 0, 0.04), 2px 2px rgba(0, 0, 0, 0.04), 3px 3px rgba(0, 0, 0, 0.04), 4px 4px rgba(0, 0, 0, 0.04), 0.125rem 0.125rem rgba(0, 0, 0, 0.04), 6px 6px rgba(0, 0, 0, 0.04), 7px 7px rgba(0, 0, 0, 0.04), 8px 8px rgba(0, 0, 0, 0.04), 9px 9px rgba(0, 0, 0, 0.04), 0.3125rem 0.3125rem rgba(0, 0, 0, 0.04), 11px 11px rgba(0, 0, 0, 0.04), 12px 12px rgba(0, 0, 0, 0.04), 13px 13px rgba(0, 0, 0, 0.04), 14px 14px rgba(0, 0, 0, 0.04), 0.625rem 0.625rem rgba(0, 0, 0, 0.04), 16px 16px rgba(0, 0, 0, 0.04), 17px 17px rgba(0, 0, 0, 0.04), 18px 18px rgba(0, 0, 0, 0.04), 19px 19px rgba(0, 0, 0, 0.04), 1.25rem 1.25rem rgba(0, 0, 0, 0.04);
}

/* communication and education design */

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 6fr);
  grid-gap: 0.25em;
}

.grid{
  height: 90%;
  width: 90%;
  transition-duration: 0.5s;
  margin: auto
}


/* tabs menu design */
/* Component Needs */
@-webkit-keyframes fadeInRight {
 0% {
  opacity:0;
  -webkit-transform:translateX(20px)
 }
 100% {
  opacity:1;
  -webkit-transform:translateX(0)
 }
}
@-moz-keyframes fadeInRight {
 0% {
  opacity:0;
  -moz-transform:translateX(20px)
 }
 100% {
  opacity:1;
  -moz-transform:translateX(0)
 }
}
@-o-keyframes fadeInRight {
 0% {
  opacity:0;
  -o-transform:translateX(20px)
 }
 100% {
  opacity:1;
  -o-transform:translateX(0)
 }
}
@keyframes fadeInRight {
 0% {
  opacity:0;
  transform:translateX(20px)
 }
 100% {
  opacity:1;
  transform:translateX(0)
 }
}
.pc-tab > input,
.pc-tab section > div {
  display: none;
}

#tab1:checked ~ section .tab1,
#tab2:checked ~ section .tab2,
#tab3:checked ~ section .tab3,
#tab4:checked ~ section .tab4,
#tab5:checked ~ section .tab5 {
  display: block;
}

#tab1:checked ~ section > div .col-lg-8,
#tab2:checked ~ section > div .col-lg-8,
#tab3:checked ~ section > div .col-lg-8,
#tab4:checked ~ section > div .col-lg-8,
#tab5:checked ~ section > div .col-lg-8{
  animation-duration: 0.5s;
  animation-name: fadeInRight;
}

/* Visual Styles */
.pc-tab {
  width: 100%;
  margin: auto;
}
.pc-tab ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pc-tab ul li label {
  float: left;
  padding: 15px 25px;
  border: 1px solid #ddd;
  border-bottom: 0;
  background: #eeeeee;
  color: #444;
  cursor: pointer;
}
.pc-tab ul li label:hover {
  background: #dddddd;
}
.pc-tab ul li label:active {
  background: #ffffff;
}
.pc-tab ul li:not(:last-child) label {
  border-right-width: 0;
}
.pc-tab section {
  clear: both;
}
.pc-tab section div {
  padding: 1px;
}

#tab1:checked ~ nav .tab1 label,
#tab2:checked ~ nav .tab2 label,
#tab3:checked ~ nav .tab3 label,
#tab4:checked ~ nav .tab4 label,
#tab5:checked ~ nav .tab5 label
 {
  background: white;
  position: relative;
}
#tab1:checked ~ nav .tab1 label:after,
#tab2:checked ~ nav .tab2 label:after,
#tab3:checked ~ nav .tab3 label:after,
#tab4:checked ~ nav .tab4 label:after,
#tab5:checked ~ nav .tab5 label:after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #ffffff;
  left: 0;
  bottom: -1px;
}
/* to top */
#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  animation-duration: 0.5s;
  animation-name: fadeInRight;
  z-index: 100000;
}

#btn-back-to-top:focus {
  box-shadow: none
}

.btn-circle.btn-md {
            width: 50px;
            height: 50px;
            padding: 7px 10px;
            border-radius: 25px;
            font-size: 10px;
            text-align: center;
        }

/* vertical scroll bar */
#scrollbar {
  width: 0.2%;
  height: 100%;
  padding: 0;
  margin: 0 0 0 auto;
  left: 0;
  top: 0;
  position: fixed;
  background-color: transparent;
  z-index:1001;
}

#scrollbar #bar {
  width: 100%;
  height: 0%;
  background-color: #82101b;
}

/* for the education best part*/
.know {
  width: 100%;
  text-align: center;
}

.gallerys {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: flex;
}
.thepicture {
  float: left;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 50%;
  padding: 10px;
}
.theitems {
  width: 100%;
  margin-left: 0%;
  padding: 8px;
}
.thepicture img:hover{
  opacity:0.6;
}

/* Class for homepage sections */
.section_main{
  padding: 2rem 0 1.5rem 0;
  position: relative;
  display: block;

}
.section1{
  background-color:#2c2b50;
}
.section2{
  background-color:#1C3740;
  padding: 0 0 1.5rem 0;
}
.section3{
  background-color: #272f4b;
}
.section4{
  background-color: #213345 ;
}
.section5{
  background-color: #3A5E69 ;
}
.section6{
  background-color: #759FA8 ;
}
.section7{
  background-color: #dce1e4;
}

.section8{
  background-color: #DCE1E4 ;
}

.content {
  color: #fff;
}

.btn-2{
  width: 250px;
  height: 75px;
  color:white;
  border-radius: 4px;
  transition: ease-out 0.3s;
  font-size: 2rem;
  border: 3px solid #42FBF2;
  position: relative;
  z-index: 1;
  background-color: #2c2b50;
}

.btn2:hover{
  color: #fff;
  cursor:pointer;
}
.btn-2:before{
  position: absolute;
  transition: 0.5s;
  top:0;
  left: 50%;
  right:50%;
  bottom:0;
  opacity: 0;
  content: "";
  background-color: #42FBF2;
}

.btn-2:hover:before{
  transition: 0.5s all ease;
  left:0;
  right:0;
  opacity:1;
  z-index: -1;
}

.btn-3{
  width: 350px;
  height: 70px;
  color:white;
  border-radius: 4px;
  transition: ease-out 0.3s;
  font-size: 1.25rem;
  border: 3px solid #759FA8;
  position: relative;
  z-index: 1;
  background-color: #3A5E69;
}

.btn3:hover{
  color: #fff;
  cursor:pointer;
}
.btn-3:before{
  position: absolute;
  transition: 0.5s;
  top:0;
  left: 50%;
  right:50%;
  bottom:0;
  opacity: 0;
  content: "";
  background-color: #759FA8;
}

.btn-3:hover:before{
  transition: 0.5s all ease;
  left:0;
  right:0;
  opacity:1;
  z-index: -1;
}
