/* KarpaGo Homepage Style */


html{

}

body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

table{
    margin: 40px auto;
    margin-bottom: 90px;
    border-collapse: collapse;
    border-radius: 7px;
    overflow: hidden;
}

th,td{
    padding: 8px 10px;
}

th{
    /*border: 1px solid #d2e4ed;*/
    background: #d2e4ed;
    border-collapse: collapse;
    color: #333;
    /*text-shadow: 0 0 3px grey;*/
}

tr{
   border-bottom: 1px solid #d2e4ed; 
}

input{
    display: block;
    border-radius: 7px;
    border: 2px solid #d2e4ed;
    padding: 3px 15px;
}

.wrapper{
    overflow-x: hidden;
}

/*==================*/

.headerSection{
	width: 100%;
    height: 70vh;
    /*overflow: hidden;*/
    position: relative;
}

.headerSection::before{
	content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 130%;
    height: 93%;
    background: #68A4C4;
    opacity: 0.3;
    z-index: 0;
    border-radius: 0 0 50% 50%;
    transform: translateX(-50%) translateY(18px) rotate(2deg);
}


.headerSection::after{
	content: "";
	position: absolute;
    left: 50%;
    top: 0;
    width: 130%;
    height: 92%;
    background: linear-gradient(to right, rgba(30, 67, 86, 0.8), rgba(30, 67, 86, 0.6)), url(../../images/client/background.jpg) center top no-repeat;
    border-radius: 0 0 50% 50%;
    transform: translateX(-50%) rotate(0deg);
    background-size: cover;
}

.headerSection .navbar{ 
	position: relative;
    z-index: 3;
    margin-top: -10px;
    /*-webkit-animation: fadeInDown 1s;
    animation: fadeInDown 1s;*/
}

.headerSection .navbar .logo img{
	width: 300px;
    position: relative;
    z-index: 3;
    /*-webkit-filter: drop-shadow(5px 5px 5px #fff);*/
    /*filter: drop-shadow(0px 0px 5px #000);*/
}


.headerSection .navbar ul{
	margin-bottom: 0;
	margin-top: 10px;
}

.headerSection .navbar ul li{
	color: white;
    display: inline-block;
    margin-right: 10px;
    /*text-shadow: 0 0 5px black;*/
    text-transform: uppercase;
    font-weight: 500;
}

.headerSection .navbar ul li a{
	text-decoration: none;
	color: white;
}

.headerSection .navbar ul li a:hover{
    opacity: 0.8;
}

.headerSection .quoteBox{
	position: absolute;
	z-index: 2;
	color: white;
	margin: 0 auto;
    width: 500px;
    /*margin-top: 330px;*/
    background: #00000063;
    padding: 20px;
    border-radius: 10px;
    background-image: url(../../images/client/icons/quoteIcon.png);
    background-size: 130px;
    background-repeat: no-repeat;
    background-position: right;
    box-shadow: 0 0 10px black;
    display: none;
    left: 0;
    right: 0;
    bottom: 20%;
}

.headerSection .dropdown {
  position: relative;
  display: inline-block;
}

.headerSection .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 99px; 
    margin-left: 8px;
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);
    z-index: 1;
    border-radius: 10px;
    padding: 8px 0px;
}

.headerSection .dropdown-content a {
    color: black!important;
    padding: 5px 15px!important;
    text-decoration: none!important;
    display: block!important;
    text-align: center!important;
    text-shadow: none;
    text-transform: none;

}

.headerSection .dropdown-content a:hover {background-color: #f1f1f1;}

.headerSection .dropdown:hover .dropdown-content {
  display: block;
}

.countersRow{
	display: flex;
    justify-content: center;
    align-items: center;
    /*-webkit-animation: fadeInUp 1s;
    animation: fadeInUp 1s;*/
}

.counterBox{
	display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 5px;
	background: #00000005;
    width: 150px;
    /*box-shadow: 0 0 6px #00000020;*/
    border-radius: 10px;
    margin-left: 20px;
    height: 165px;
    margin-bottom: 70px;
    background-size: 130px;
    background-repeat: no-repeat;
    background-position: 250% -90%;
    border: 3px solid #d2e4ed;
}

.counterBox p:first-child{
	font-size: 40px;
    font-weight: 700;
}

.counterBox p:nth-child(2) {
	font-weight: 600;
}

.counterBox:hover{
    opacity: 0.7;
    cursor: pointer;
}

.footerSection{
    margin-top: auto;
    /*-webkit-animation: fadeInUp 2s;
    animation: fadeInUp 2s;*/
}

.footerE{
	display: flex;
    justify-content: space-between;
    color: gray;
    font-family: system-ui;
    margin-bottom: 10px;
    margin-top: 15px;
    font-size: 14px;
}

.mobileNavbar{
    display: none;
    border: none;
    background: transparent;
    margin-top: 21px;
    color: white!important;
    font-size: 28px;
}

.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
}

.overlay-content {
  position: relative;
  top: 20%;
  width: 80%;
  text-align: center;
  margin-top: 30px;
  margin: auto;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  cursor: pointer;
  color: white;
}

.overlay .overlay-content ul {
    list-style: none;
    padding: 5px;
    text-align: center;
    margin-left: 10px;
}

.overlay .overlay-content ul li {
    color: #8e8e8e;
    display: block!important;
    margin-right: 10px;
    text-shadow: 0 0 5px black;
    text-transform: uppercase;
    font-weight: 500;
    margin: 20px 0;
    font-size: 23px;
}

.overlay .closebtn:hover {
  color: #ccc;
}

.mainSection{
    /*-webkit-animation: fadeInUp 2s;
    animation: fadeInUp 2s;*/
}

.mainSection h1{
    margin-top: 20px;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 600;
}

.mainSection h4{
    color: #cecece;
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 20px;
}

.mainSection hr{
    width: 75px;
    margin: 0 auto;
    height: 3px;
    color: #adc6d3;
}

.mainSection .teamHeading{
    font-size: 22px;
}

.mainSection .largeButton{
    margin-top: 15px;
    background: #0078c0;
    border: 0;
    border-radius: 7px;
    color: white;
    /*text-shadow: 0 0 3px grey;*/
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 20px;
}

.mainSection .largeButton:hover{
    opacity: 0.7;
}

.mainSection .smallButton{
    margin-top: 15px;
    background: #0078c0;
    border: 0;
    border-radius: 7px;
    color: white;
    /*text-shadow: 0 0 3px grey;*/
    font-size: 14px;
    padding: 8px 20px;
}

.mainSection .smallButton:hover{
    opacity: 0.7;
}

.rowMain{
    /*display: flex;
    justify-content: center;
    align-items: center;*/
    margin-top: 50px;
}

.mainBox{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding: 15px 25px;
    background: #00000005;
    width: 100%;
    /*box-shadow: 0 0 6px #00000020;*/
    border-radius: 10px;
    /*margin-left: 20px;*/
    margin-bottom: 15px;
    border: 3px solid #d2e4ed;
    justify-content: space-between;
}

.mainBox:hover{
    opacity: 0.7;
    cursor: pointer;
}

.mainBox p{
    margin-bottom: 0; 
    font-weight: 300; 
    text-transform: uppercase;
}

.mainBox i {
    font-size: 32px
}

.memberBox{
    margin-bottom: 35px;
}

.memberBox img{
    width: 100px;
    height: 100px;
    border-radius: 100px;
    /*box-shadow: 0 0 8px black;*/
    border: 3px solid #d2e4ed;
    padding: 3px;
}

.memberBox .memberDetail{
    margin-top: 10px;
}

.memberBox .memberDetail h2{
    font-size: 15px;
}

.memberBox .memberDetail p{
    font-size: 14px;
    margin-bottom: 10px;
}

.memberBox .memberDetail i{
    margin-top: 10px;
}

.memberBox .memberDetail a{
    color: #d2e4ed;
    font-size: 22px;
    cursor: pointer;
}

.memberBox .memberDetail a:hover{
    opacity: 0.8;
}



.popup {
    position: relative;
    display: inline-block;
    /*cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;*/
}

.popup .popuptext {
    display: none;
    width: auto;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 20px;
    position: absolute;
    z-index: 1;
    margin-left: -80px;
    margin-left: -89px;
    font-family: sans-serif;
    font-size: 12px;
    width: 200px;
}

.popup .popuptext::after {
    content: "";
    position: absolute;
    top: -28%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
    transform: rotate(180deg);
}

.popup .show {
    visibility: visible;
    /*-webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;*/
}

.bookBox{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-top: 40px;
    /* border-bottom: 1px solid #d2e4ed; */
    padding: 10px 25px;
    /* background: #00000005; */
    /*box-shadow: 0 0 6px #00000020;*/
    border: 3px solid #d2e4ed;
    border-radius: 7px;
    height: 360px;
}

.bookBox img{
    width: 140px;
    height: 160px;
}

.bookBox .bookDetail{
    margin-top: 10px;
}

.bookBox .bookDetail h2{
    font-size: 15px;
}

.bookBox .bookDetail p{
    font-size: 14px;
    margin-bottom: 10px;
}

.bookBox .bookDetail i{
    margin-top: 10px;
}

.bookBox .bookDetail a{
    color: #d2e4ed;
    font-size: 22px;
    cursor: pointer;
}

.bookBox .bookDetail a:hover{
    opacity: 0.8;
}

.profileButton{
    background: #d2e4ed;
    border: 0;
    border-radius: 7px;
    color: white;
    /*text-shadow: 0 0 3px grey;*/
    padding: 8px 25px;
    text-transform: uppercase;
}

.profileButton:hover{
    opacity: 0.7;
}

.formGroup{
    margin-bottom: 30px;
}

label{
    padding: 5px;
    float: left;
    color: #d2e4ed;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
}

.formGroup input,select {
    border: 2px solid #d2e4ed;
    height: 40px;
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #4f565d;
    background-color: #fff;
    background-clip: padding-box;
    /* border: 1px solid #ced4da; */
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.mobileViewArchived select{
    border-radius: 10px!important;
    border: 3px solid #d2e4ed!important;
    height: 65px!important;
    padding: 15px 25px!important;
}

.mobileViewArchived select:after {
    color: #0ebeff;
}


/* ================== */

@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

@-webkit-keyframes fadeInDown {
    0% {
       opacity: 0;
       -webkit-transform: translateY(-50px);
    }
    100% {
       opacity: 1;
       -webkit-transform: translateY(0);
    }
}
 
@keyframes fadeInDown {
    0% {
       opacity: 0;
       transform: translateY(-50px);
    }
    100% {
       opacity: 1;
       transform: translateY(0);
    }
}

@-webkit-keyframes fadeInUp {
    0% {
       opacity: 0;
       -webkit-transform: translateY(150px);
    }
    100% {
       opacity: 1;
       -webkit-transform: translateY(0);
    }
}
 
@keyframes fadeInUp {
    0% {
       opacity: 0;
       transform: translateY(150px);
    }
    100% {
       opacity: 1;
       transform: translateY(0);
    }
}

/*==================*/


@media screen and (max-width: 575px){
	.headerSection::after{
		width: 200%;
        height: 93%;
	}
	.headerSection::before{
		width: 178%;
    	height: 92%;
	}
	.headerSection .quoteBox{
		width: 90%;
		margin-top: 30px;
	}
    .headerSection{
        height: 40vh!important;
    }
	.footerE{
		flex-direction: column;
	}
	.countersRow{
		flex-direction: column;
		margin-bottom: 20px;
	}
	.counterBox{
		margin-bottom: 15px;
	    width: 50%;
	    margin-left: 0;
        background-position: 70% -70%;
	}
    .headerSection .navbar .logo img{
        width: 250px;
    }
    body{
        height: auto;
    }
    .teamSide{
        margin: 50px auto;
    }
    .teamGroupButton i{
        font-size: 25px!important;
    }
}

@media screen and (max-width: 768px){

    .teamGroupButton{
        flex-direction: row!important;
        align-items: center!important;
        justify-content: center!important;
        padding: 15px 15px!important;
        margin: 0 2px!important;
    }

    .teamGroupButton p{
        display: none!important;
    }

    .teamGroupButton img{
        width: 70%!important;
    }

    .teamGroups{
        display: flex!important;
        margin-bottom: 10px;
    }

    .teamAllButton{
        display: none;
    }

    .teamAllButtonM{
        display: flex!important;
    }

    .largeButtons{
        display: none;
    }

    .mobileViewArchived{
        display: block!important;
    }
}

@media screen and (max-width: 992px){
	.largeNavbar{
		display: none;
	}
    .mobileNavbar{
        display: block;
    }

}

@media screen and (max-width: 1200px){
    .bookBox{
        height: 530px!important;
    }

    .bookBox img{
        width: -webkit-fill-available;
    }
}

@media screen and (max-height: 900px){
    .quoteBox{
        /*margin-top: 200px!important;*/
    }
}

@media screen and (max-height: 775px){
    .quoteBox{
        /*margin-top: 90px!important;*/
    }
}

@media screen and (min-width: 385px) and (min-height: 840px) and (max-width: 420px) and (max-height: 920px){
    .headerSection::after{
        width: 200%!important;
        height: 90%!important;
    }
    .headerSection::before{
        width: 178%!important;
        height: 90%!important;
    }
    .headerSection{
        height: 42vh!important;
    }
}

@media screen and (width: 280px) and (height: 653px){

    .headerSection .navbar .logo img{
        width: 200px;
    }

}

@media screen and (width: 1024px) and (height: 600px), screen and (width: 1280px) and (height: 800px){
    .quoteBox{
        margin-top: 90px!important;
    }
}

@media screen and (width: 1440px) and (max-height: 900px) {
    .quoteBox{
        margin-top: 120px!important;
    }
}


@media screen and (width: 1440px) and (max-height: 600px) {
    .quoteBox{
        margin-top: 20px!important;
    }
}

/*@media screen and (min-width: 575px) and (max-width: 900px) {
    .quoteBox{
        bottom: 90px!important;
    }
}*/

@media screen and (max-height: 300px){
    .headerSection{
        height: 120vh!important;
    }
}

@media screen and (max-height: 510px){
    .headerSection{
        height: 95vh!important;
    }

    .quoteBox{
        bottom: 65px!important;
    }  
}

@media screen and (min-height: 510px) and (max-height: 660px){
    .headerSection{
        height: 67vh!important;
    }

    .quoteBox{
        bottom: 75px!important;
    }
}

@media screen and (min-height: 660px) and (max-height: 660px){
    .headerSection{
        height: 67vh!important;
    }

    .quoteBox{
        bottom: 75px!important;
    }
}

@media screen and (min-height: 660px) and (max-height: 840px){
    .headerSection{
        height: 50vh!important;
    }

    .quoteBox{
        bottom: 65px!important;
    }
}

@media screen and (max-width: 850px) and (max-height: 500px){
    /*.headerSection{
        height: 50vh!important;
    }*/

    .quoteBox{
        bottom: 90px!important;
    }
}


