.search {
    border: 0;
    padding: 0px;
}

.header-pull-to-left {
  text-align: left;
}

@media (min-width: 768px) {
    .studm-nav {
        max-width: 720px !important;
        margin: 0 auto !important;
    }
}

@media (min-width: 992px) {
    .studm-nav {
        max-width: 960px !important;
        margin: 0 auto !important;
    }
}

@media (min-width: 1200px) {
    .studm-nav {
        max-width: 1230px !important;
        margin: 0 auto !important;
    }
}

@media (min-width: 1500px) {
    .studm-nav {
        max-width: 1560px !important;
        margin: 0 auto !important;
    }
}
.t4-footer .container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.not-at-top #t4-header {
    background: transparent;
}

.t4-section.section-overlap .t4-section-inner {
    margin-bottom: 150px;
}

.top-row {display: block;  z-index: 1000;}

.logo-image {
  padding-top: 1.39592rem !important;
  padding-bottom: 1.39592rem !important;
}

.mod-search {float: right;}

.head-search .custom {float: right;}

@media (max-width: 768px) {
	.head-search .studm-default-login {float: left;}
}

.head-search .custom a {
    color: #cf313d;
    text-shadow: white 0.5px 0.5px;
    font-size: 16px;
}

.head-search .custom ul {
  padding-top: 2rem;
}

.social-list li {
  border-left: 0px;
}

#t4-megamenu-main-menu-v2 {font-family: sans-serif;}

#t4-megamenu-main-menu-v2 a {
  color: #595454;
  font-size: 15px;
  border-bottom: 1px solid;
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: 15px;
}

.studm-home #t4-megamenu-main-menu-v2 a {
    color: #ffffff;
    text-shadow: #4b4b4b 1px 1px;
}

.studm-home  #t4-megamenu-main-menu-v2 .dropdown .nav-item a{
    color: black;
    text-shadow: unset;
}



.dropdown-item {
  margin-top:0px !important;
}

#t4-megamenu-main-menu-v2 .fas {
  padding-right: 3px;
}

.navbar-toggler {
  color: white;
  background: #cf313d;
  width: 80px;
  height: 40px;
}


.navbar-expand-md .navbar-nav .nav-link {
  padding-right: 8px;
}

@media (max-width: 768px) {
  #t4-megamenu-main-menu-v2 {
    background: #cf313d;
  }
  
  #t4-megamenu-main-menu-v2 a {
    color: white !important;
    text-shadow: none !important;
    margin-top: 0px;
  }
  
  .head-search .custom ul {
    padding-top: 0.6rem;
  }
  
  .nav-breakpoint-md div.t4-megamenu {
    text-align: left;
  }
	.navbar-expand-md {
	  text-align: right;
	}

	.nav-link:not(.dropdown-toggle) {
		display: block !important;
	}
}

.top-news .newsflash-image {
  max-width: 120px;
  float: left;
  margin-right: 10px;
  height: 120px;
}

.top-news h3 {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 15px !important;
  margin-top: 0px;
}

.top-news p {
  margin: 0px;
}

.top-news h3 a {
  color: #111 !important;
}

.top-news .featured a {
  color: #8c291c;
  font-weight: bold;
}

.top-news .news-item {
  float:left;
  width: 100%;
  margin-bottom: 0px;
  margin-top: 15px;
}

figure figcaption {display:none;}

.logo img {max-width: 60% !important;}

/* PHOTO GALLERY */
.photo-gallery .row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.photo-gallery .column {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.photo-gallery .column img {
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .photo-gallery .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .photo-gallery .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

.photo-gallery .img-wrapper {
  margin-top: 8px;
  border-radius: 5px;
  overflow: hidden;
}
.photo-gallery .gallery-img {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}
.photo-gallery .img-wrapper:hover .gallery-img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

/* The Modal (background) */
.photo-gallery .modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
}

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

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

/* Add Animation */
.photo-gallery .modal-content, #modal-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)}
}

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


.t4-studm-news.section-overlap .t4-section-inner {
    margin-top: 100px;
    padding: 30px;
}
.t4-studm-news .t4-section-inner {
  background: white;
  border-radius: 15px;
}
.t4-studm-news .t4-section-inner p {
    margin-bottom: 0px;
    font-family: sans-serif;
}
.t4-studm-news .t4-section-inner a {
    color: #cf313d;
}

.t4-studm-news img {
    max-width: 120px;
    float: left;
    padding-right: 10px;
}


.t4-studm-login-btn .container {
  height: 200px;
  position: relative;
}
.t4-studm-login-btn .center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 300px;
}
.t4-studm-login-btn .btn {
	border-radius: 10px;
}

.chronoforms {
  margin-top: 30px;
  margin-bottom: 30px;
}