/********************************************************************** Send E-Mail *******************/

* {
    outline: none!important;
    list-style: none;
}

.required {
    border-bottom: 1px solid #ea1c1c !important;
}

.requiredtextbox {
    border: 1px solid #ea1c1c !important;
}

.invalid-email {
    display: none!important;
}

::placeholder {
    color: rgba(0, 0, 0, 0.5)!important;
}

.form-control:focus {
    background: transparent!important;
}

a {
    text-decoration: none!important;
    color: #000!important;
}

a :hover {
    transition: 0.5s;
    color: #ffc107;
}

.text-red {
    color: #BA3D3D!important;
}

.text-yellow {
    color: #ffc107!important;
}

.gradientbar {
    background: linear-gradient(to right, #BA3D3D, #FF3333);
    width: 64px;
    height: 4px;
    margin: 16px auto 0;
    border: 0 none;
}

.bg-red {
    color: #BA3D3D!important;
}

.bg-yellow {
    color: #ffc107!important;
}


/*********************************************************************** Fonts **************************/

body {
    font-family: 'Josefin Sans', sans-serif!important;
}

.navbar-brand {
    font-weight: 700!important;
    font-size: 24px!important;
}

h1 {
    font-size: 36px!important;
    letter-spacing: 2px;
    font-weight: 600;
    color: #000;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    color: #212529;
}

p {
    font-family: 'Roboto', sans-serif!important;
    color: #777777;
    font-size: 15px;
    line-height: 27px;
    font-weight: 400;
}


/************************************************************************** Buttons ***********************/

.btn {
    color: #FFF;
    background: linear-gradient(to right, #BA3D3D, #FF3333);
    border: none!important;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15)!important;
    transition: all 0.3s ease 0s!important;
    font-size: 16px!important;
    border-radius: 5px!important;
    padding: 5px 25px!important;
}

.btn:hover {
    background: linear-gradient(to right, #FF3333, #BA3D3D);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15)!important;
    color: #FFF;
}


/************************************************************************** Header ***********************/

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.navbar-bg {
    background: linear-gradient(to right, #BA3D3D, #FF3333);
}

.navbar-bg.scrollheader {
    background: linear-gradient(to right, #BA3D3D, #FF3333);
}

.navbar-bg .container-fluid .navbar-collapse .navbar-nav .nav-item .nav-link {
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: 1px;
    text-align: left;
    color: #fff!important;
    line-height: 40px;
    transition: all .5s ease;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    border-radius: 50px;
    position: relative;
    padding: 0 .8rem;
    text-transform: uppercase;
}

/************************************************************************* Index ************************************/

.banner {
	height: 70vh;
	min-height: 500px;
	background-image: url('../img/home/banner.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.gurukul-banner {
	height: 70vh;
	min-height: 500px;
	background-image: url('../img/gurukul/gurukul-banner.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.furniture-banner {
	height: 70vh;
	min-height: 500px;
	background-image: url('../img/furniture/furniture-banner.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.media-banner {
	height: 70vh;
	min-height: 500px;
	background-image: url('../img/media/media-banner.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.contact-banner {
	height: 50vh;
	min-height: 300px;
	background-image: url('/img/contact-banner.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.p-text {
    color: rgba(0, 0, 0, 0.7);
}


/************************************************************************* Gallery ************************************/

.gallery-banner {
    background: url(../img/gallery-banner.jpg) no-repeat;
    background-size: cover;
    background-size: 100%;
    height: 550px;
}

.gallery-img>div>img {
    width: 320px;
    height: 320px;
    transition: all ease-in-out 0.5s;
    margin-top: 2rem;
}

.gallery-img>div>img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0px 10px 7px rgba(0, 0, 0, 0.25));
}

.media-img {
    width: 100%;
    height: 1000px!important;
}

/************************************************************************* Contact ************************************/

.branches {
    background: #fff;
    filter: drop-shadow(0px 10px 7px rgba(0, 0, 0, 0.25));
    height: 260px;
}


/************************************************************************* Footer ************************************/

.ftr {
    background: #e6e6e6!important;
}

.ul-header>li {
    margin-top: 8px!important;
}

.ul-header>li>a {
    color: #404040!important;
}

.ul-header>li>a:hover {
    color: #0090b5!important;
}

.text-mblack {
    color: #404040!important;
}

.text-blue {
    color: #0090b5;
}

.sprite-icon1 {
    background: url(../img/sprite-sheet.png) no-repeat;
    width: 32px;
    margin-right: 2%!important;
    height: 32px;
    cursor: pointer;
}

.fb {
    background-position: -259px -12px;
}

.insta {
    background-position: -305px -12px;
}

.twitr {
    background-position: -352px -12px;
}

.lin {
    background-position: -399px -12px;
}

.fb:hover {
    background-position: -259px -50px;
    transition: 0.5s;
}

.insta:hover {
    background-position: -305px -50px;
    transition: 0.5s;
}

.twitr:hover {
    background-position: -352px -50px;
    transition: 0.5s;
}

.lin:hover {
    background-position: -399px -50px;
    transition: 0.5s;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    background: linear-gradient(to right, #BA3D3D, #FF3333);
}

/* On screens that are 600px wide or less*/
@media screen and (max-width: 600px) {
	.media-banner {
		background-position: -980px;
	}
	.gurukul-banner {
		background-position: -200px;
	}
	.furniture-banner {
		background-position: -100px;
	}
	.contact-banner {
		background-position: 0px;
	}
	.banner {
        background: url(../img/home/banner.jpg) no-repeat;
        background-size: cover!important;
        background-position-x: -170px!important;
        height: auto;
        padding: 250px 0px!important;
    }
    .sec1-right {
        border: 15px solid #000;
        margin-top: 0rem;
    }
    .navbar-bg {
        background: linear-gradient(to right, #BA3D3D, #FF3333);
    }
	.media-img {
        width: 100%;
        height: 500px!important;
    }
	.res-img {
        margin-bottom: 2rem;
    }
}
/********************************************************* Section Place of Birth  ************************************/

.section-pob .gallery{
    display: flex;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid red;
}

.section-pob .gallery img:first-child {
    grid-column: 1/3;
    grid-row: 1/3;
}

.section-pob .gallery img:nth-child(2) {
    grid-column: 3/5;
}

.section-pob .gallery img, 
.section-pob .gallery a {
    width: 100%;
    height: 100%;
}

#photos {
  /* Prevent vertical gaps */
  line-height: 0;
   
  -webkit-column-count: 5;
  -webkit-column-gap:   0px;
  -moz-column-count:    5;
  -moz-column-gap:      0px;
  column-count:         5;
  column-gap:           0px;  
}

#photos img {
  /* Just in case there are inline attributes */
  width: 100% !important;
  height: auto !important;
}
