/*-----general rules and classes-----*/
:root {
    font-size: 16px;
  }

body{
    font-family: Body,Quicksand,sans-serif;
    margin: 0;
}
section{
    margin-top: 5rem;
}
.center{
    text-align: center;
}
.horizontal-list{
    padding: 0;
    margin-top: 0;
}
.horizontal-list li{
    display: inline-block;
    margin-right: 1rem;
    font-size: .9rem;
}
.blue-bold{
    padding: .4rem;
    background-color: #213d77;
    font-weight: bold;
    color: white;
}
.blue-bold a{
    color: white;
}
.divider{
    height: .6vh;
    width: 98.9vw;
    background-color: lightgrey;
    margin-top: -2rem;
    margin-bottom: 3rem;
}
.blue{
    background-color: #4867aa;
    color: white;
}
.red{
    background-color: red;
    color: white;
}
.grey{
    background-color: #3c576c;
    color: white;
}
.yellow{
    background-color: yellow;
    color: white;
}
.orange-underline{
    color: rgba(251,121,43,1);
    text-decoration: underline;
    font-weight: bold;
}
.dropdown span{
    margin-right: 1rem;
    font-size: .9rem;
}
.btn {
    background: none;
    border: none;
    padding: 5px 10px;
    margin-right: 5px;
    cursor: pointer;
    color: black;
    padding: 0;
    margin: 0 .3rem;
  }
a{
    text-decoration: none;
    color: black;
}
strong{
    background-color: lightgrey;
    font-weight: bold;
    padding: .4rem;
}


/* ---hover dropdown options */
.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    /* padding: 10px; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: .9rem;

}
.dropdown-content div{
    padding: .8rem 0 .8rem .5rem;
}
.dropdown-content div:hover{
    background-color: rgb(243, 222, 183);
    cursor: pointer;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-option {
    padding: 5px 0;
    font-weight: bold;
}
.hidden {
    display: none;
  }


/* hover dropdown end */


/*------- header ------*/


#main-header{
    padding-top: 1rem;
    padding-bottom: 1rem;
    height: 11vh;
    width: 100vw;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-around;
    position: fixed;
    top: 0;
}

#main-header img{
    height:95%;
    width:auto;
}
#img1{
    margin-left: -3rem;
}
#img2{
    margin-right: -3rem;
}

#linklists{
    display: flex;
    flex-direction: column;
}


/* ---------ticket-booking section--------- */

#ticket-booking{
    margin-top: 7rem;
    background-image: url("./images/train image.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: space-around;
    height: 40rem;
    /* margin-left: -15rem */
}
#form{
    
    margin-top: 3rem;
    width: 43vw;
}
#form main{
    background-color: #ffffff;
    margin-bottom: 0;
}
#form>header{
    display: flex;
    justify-content: space-between;
}
#form>header div{
    width: 47.5%;
    font-size: .9rem;
}
#form>header div span{
    display: inline-block;
}
#form>header div i{
    margin-left: -8rem;
    font-size: 1.4rem;
}
#form main header{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#form main h2{
    color:#2f4677;
    font-size: 2rem;
}
#form main form div{
    display: flex;
    flex-wrap: wrap;
}
/* form label{
    font-size: small;
    color: #082b71;
} */
.leftbox{
    width: 50%;
    height: 1.6rem;
    margin: 1rem;
    color: #082b71;
}
.rightbox{
    width: 35%;
    height: 1.6rem;
    margin: 1rem;
    color: #082b71;
}
input::placeholder{
    color: #082b71;
}
input[type="checkbox"]{
    margin-left: 1.5rem;
    margin-right: .7rem;
    margin-top: .5rem;
    cursor: pointer;
    transform: scale(1.5);
}
#buttons{
    display: flex;
    justify-content: space-between;
    
}
#checkboxes{
    color: #082b71;
    font-weight: 550;
    font-size: .9rem;
    font-family: quicksand;
}
button{
    border: none;
    height: 1.9rem;
    color: white;
    border-radius: .3rem;
    font-weight: bold;
    margin: 2rem 2rem;
}
button[type="submit"]{
    background-color: #fb792b;
    width: 6rem;
    cursor: pointer;
}
button[type="button"]{
    background-color: #01bb0a;
    width: 15rem;
}
button[type="button"] span:hover{
    text-decoration: underline;
    /* made by Aditya Jindal */
    color:#007ad9;
    cursor: pointer;
}
select{
    cursor: pointer;
}
select option{
    cursor: pointer;
    color: black;
    font-weight: lighter;
    font-size: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
select option:hover{
    background-color: lightgrey;
}
#note{
    margin-top: .1rem;
    background-color: #ffffff;
}
#note #p1{
    color: red;
    font-size: x-small;
    line-height: 1rem;
    font-weight: bold;
}
#note #p2{
    color: rgb(0, 0, 255);
    font-size: x-small;
    font-weight: bold;
}

#ticket-booking-heading{
    color: #213d77;
}
#ticket-booking-heading h1{
    margin-top:1rem; 
    font-weight: 700;
    font-size: 3.2rem;
}
#ticket-booking-heading h2{
    margin-left: 15%;
    margin-top:-2.4rem;
    font-weight: normal;
}



/* ---------services section------------ */

#service{
    display: flex;
    flex-direction: column;
    align-items: center;
}


#service header{
    font-weight: bold;
    font-size: 1.5rem;
}
#service header h1{
    margin: 0;
}
#icons{
    margin-top: 2rem;
    width: 62vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#icons div{
    margin: 2rem 0;
}
#icons i{
    margin: 0 2.5rem;
    font-size: 3rem;
    padding: 1rem;
    border: black solid .1rem;
    border-radius: 50%;
}
#icons i:hover{
    color: white;
    background-color: blue;
}
#icons p{
    text-align: center;
    font-weight: bold;
}

/* ---------holidays section---------------- */

#holidays{
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 6rem;
    margin-bottom: 0;
}
#holidays>header{
    font-size: 1.5rem;
}
#packages{
    width: 70vw;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    margin-left: 3rem;
}
#packages>div{
    margin-top: 3rem;
    margin-right: 1rem;
    background-color: #fff;
    width: 21.9vw;
    overflow: hidden;
}
#packages h2{
    margin-left:1rem;
}
#packages p{
    margin: 0 1rem;
    line-height: 1.7rem;
    font-size: .85rem;
}
#packages a{
    font-weight: bold;
    margin-top: 1rem;
}
#packages i{
    margin-left: .5rem;
}



/* --------socials section-------------- */

#socials{
    margin-top: 0;
    margin-bottom: 0.2rem;
    height: 5rem;
    background-image: linear-gradient(270deg,#9b4b90 0,#2c215d);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 0 20rem;
    align-items: center;
}
#socials i{
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 5px 11px 0 rgb(0 0 0/18%), 0 4px 15px 0 rgb(0 0 0/15%);
}

/* ----------all links section-------------- */

#all-links{
    margin: 0;
    padding: 3rem 7rem;
    height: auto;
    background-color: #2c215d;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: .1rem;

}
#all-links div:hover{
    border: 1px solid orange;
  }
#all-links ul{
    list-style: none;
}
li[onclick]{
    color: white;
    font-weight: bold;
    cursor: pointer;
}
.hidden li{
    color: white;
    font-style: italic;
    font-weight:lighter;
    font-size: small;
    margin-left: 1rem;
    margin-bottom: .5rem;
    letter-spacing: 1px;
}

/* ----------sponsors-------------- */

#sponsors{
    margin: 0 10rem;
    display: flex;
    justify-content: space-between;
}

#copyright-info{
    font-size: .8rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end; 
}
#copyright-info p{
    margin: 0.1rem;
}
#copyright-info a{
    color: #007ad9;
    font-weight: bold;
}
#copyright-info a:hover{
    text-decoration: underline;
}