/*
 Theme Name:     americanstudyhub
 Theme URI:      http://digitalhive.in
 Description:    
 Author:         digitalhive  
 Author URI:    
 Template:      
 Version:        1.0.0
*/  

body {
      font: 400 15px/1.8 Lato, sans-serif;
      color: #777;
  }
#back-to-top.show {
    opacity: 1;
    visibility: visible;
}
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 38px;
    background: #1A9EE1;
    color: #FFF;
    cursor: pointer;
    border: 0;
    border-radius: 50%;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    font-size: 22px;
    visibility: hidden;
}
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

  a.pdf {
    color: #fff;
    text-decoration: none;
}
.page_mrg{
margin-top: 100px;
}
div#managing_committee >h3 {
    color: #EA852E;
}

.heading >h2 {
    color: #1A9EE1;
}
.pos_block{
  display: flex;
}

.event_img{
  background: url('img/seamless-pattern-tile_1159-5367.png')  fixed ;
}
.item.active {
    margin-top: 120px;
}
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1111; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

  .heading{
    margin: 35px 0px;
  }
  span.date-box {
    margin-right: 20px;
    margin-bottom: 20px;
    vertical-align: middle;
    display: inline-block;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0px 0px 3px 0px #ccc;
}
.event_control>a {
    color: #777777;
    text-decoration: none;
}
span.date-box>span:nth-child(1) {
    font-size: 1rem;
    font-weight: bold;
}


span.date-box>span:nth-child(2) {
    font-size: 2.2rem;
    font-weight: bold;
}


span.date-box>span:nth-child(3) {
    font-size: 1.2rem;
    background-color: #FC7F3F;
    text-transform: uppercase;
    color: #fff;
    border-radius: 0px 0px 5px 5px;
}
span.date-box span {
    display: block;
    padding: 2px 16px;
    line-height: 1.3em;
}
a.pdf:before {
    content: "";
    display: inline-block;
    background-image: url(img/pdf-icon.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    height: 30px;
    vertical-align: middle;
    padding-right: 40px;
}
div#managing_committee {
    margin: 40px 0px;
}
span.committee >h2 {
    font-size: 14px;
    font-weight: 900;
}

span.committee >p {
    font-size: 14px;
 }
.navbar-header {
    height: 120px;
}
div#myNavbar {
    margin-top: 35px !important;
}
.container-fluid.contact_block {
    margin: 40px 0px;
}

  h3, h4 {
      margin: 10px 0 30px 0;
      letter-spacing: 1px;
      font-size: 27px;
      color: #0094DE;
  }
  .container {
      padding: 40px 40px;
  }
  .person {
      border: 10px solid transparent;
      margin-bottom: 25px;
      width: 80%;
      height: 80%;
      opacity: 0.7;
  }
  .person:hover {
      border-color: #f1f1f1;
  }
  .carousel-inner img {
      -webkit-filter: grayscale(50%);
      filter: grayscale(50%); /* make all photos black and white */
      width: 100%; /* Set width to 100% */
      margin: auto;
	  min-height:inherit;
  }
  .carousel-caption h3 {
      color: #fff !important;
  }
 /* .dark{
	   background:rgba(0, 0, 0, 0.69);
      
  } */

  .heading_mc{
    font-weight: 900;
  }
  .mc_block{
    padding-bottom: 20px;
  }
  .bg-1 {
      background: url('img/Asset1.png') no-repeat fixed;
    background-size: cover;
    background-position: right bottom;
  }
  .bg-1 h3 , .bg-2 h3,.bg-3 h3,.bg-4 h3{color: #1A9EE1;}
  .bg-1 p, .bg-1 p > a {
    color: #333;
}
.container.section-full>h3 {
    color: #fff;
}
span.date-box {
    background: #fff;
}

  .bg-2{
	   background: rgba(0, 40, 104, 0.75);
      color: #fff;
  }
  .bg-4{
    background: url('img/visa-application.jpg') no-repeat fixed;
    color: #fff;
    background-size: cover;
}
  
  .bg-3 {
    background: url('img/bg1920x1200.jpg') no-repeat fixed;
    background-size: cover;
}
  .list-group-item:first-child {
      border-top-right-radius: 0;
      border-top-left-radius: 0;
  }
  .list-group-item:last-child {
      border-bottom-right-radius: 0;
      border-bottom-left-radius: 0;
  }
  .thumbnail {
      padding: 0 0 15px 0;
      border: none;
      border-radius: 0;
  }
  .thumbnail p {
      margin-top: 15px;
      color: #555;
  }
  .btn {
      padding: 10px 20px;
      background-color: rgb(3, 135, 202);
      color: #f1f1f1;
      border-radius: 0;
      transition: .2s;
  }
  .btn:hover, .btn:focus {
      border: 1px solid #333;
     background-color: #0387CA;
    color: #FFF;
  }
  .modal-header, h4, .close {
      background-color: #333;
      color: #fff !important;
      text-align: center;
      font-size: 30px;
  }
  .modal-header, .modal-body {
      padding: 40px 50px;
  }
  .nav-tabs li a {
      color: #777;
  }
  #googleMap {
      width: 100%;
      height: 400px;
      -webkit-filter: grayscale(100%);
      filter: grayscale(100%);
  }
  .navbar {
      font-family: Montserrat, sans-serif;
      margin-bottom: 0;
      background-color: #fff;     
      border: 0;
      font-size: 14px !important;
      letter-spacing: 1px;
      opacity: 0.9;
  }
  .navbar li a, .navbar .navbar-brand {
      color: #000 !important;
  }
  .navbar-nav li a:hover {
      color: #000 !important;
  }
  .navbar-nav li.active > a {
     color: #000 !important;
    background-color: #FFFFFF !important;
  }
  .navbar-default .navbar-toggle {
      border-color: transparent;
  }
  .open .dropdown-toggle {
      color: #fff;
      background-color: #555 !important;
  }
  .dropdown-menu li a {
      color: #000 !important;
  }
  .dropdown-menu li a:hover {
      background-color: #BF0A30 !important;
  }
  footer {
      background-color: #2d2d30;
      color: #f5f5f5;
      padding: 10px;
  }
  footer a {
      color: #f5f5f5;
  }
  footer a:hover {
      color: #777;
      text-decoration: none;
  }
  .form-control {
      border-radius: 0;
  }
  textarea {
      resize: none;
  }
  .section-full{

	
	  vertical-align: middle !important;}
	  
	  ul.sub-menu {
    list-style: none;
    padding: 5px;
    position: absolute;
    background: #fff;
    color: #333;
    width: 113%;
    box-shadow: 0px 0px 8px #333;
}
textarea.form-control {
    height: 100px;
}
.carousel-caption{
	bottom:50%;	
}
.carousel-caption h3 {
    line-height: 37px;
}



.navbar-toggle .icon-bar:nth-of-type(2) {
	  top: 1px;
}

.navbar-toggle .icon-bar:nth-of-type(3) {
  	top: 2px;
}

.navbar-toggle .icon-bar {
	  position: relative;
	  transition: all 500ms ease-in-out;
}

.navbar-toggle.active .icon-bar:nth-of-type(1) {
	  top: 6px;
	  transform: rotate(45deg);
}

.navbar-toggle.active .icon-bar:nth-of-type(2) {
	  background-color: transparent;
}

.navbar-toggle.active .icon-bar:nth-of-type(3) {
	  top: -6px;
	  transform: rotate(-45deg);
}

#contact h2 {
    margin: 0 0 10px;
    font-size: 23px;
    font-weight: 600;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 32px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}
@media only screen and (max-width: 1024px){

ul#menu-top_menu >li  {
    font-size: 13px !important;
    letter-spacing: 0px !important;
}
.nav>li>a {
       padding: 10px 5px!important;
}
}

@media only screen and (max-width: 768px){
    .item.active {
    margin-top: 35px;
}

  ul#menu-top_menu >li  {
    font-size: 12px !important;
    }
    .navbar-right {
     margin-right: 0px!important; 
}
  
.contact_height{
height: 250px !important;
}
img#myImg {
    height: 100%;
}
.carousel-inner {
    margin-top: 100px;
}
.navbar-header {
    transform: translate(113%)!important;
}
.nav>li>a {
       padding: 10px 5px!important;
}
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .carousel-caption {
      display: none; /* Hide the carousel text when the screen is less than 600 pixels wide */
    }
	.container {
    padding: 80px 15px;
}

.dropdown-menu li a {
    color: #fff !important;
}
  }
  @media only screen and (max-width: 425px){
    .item.active {
    margin-top: 0px;
}
    img#myImg {
    padding-bottom: 20px;
}
div#managing_committee {
    text-align: center;
}
    .navbar{
      opacity: 1;
      box-shadow: 1px 3px 5px #ccc;
    } 
  .navbar-header {
    transform: translate(0%)!important;
}
.pos_block{
  display: block;
}
}