@media(min-width:980px) and (max-width:1199px),(min-width:1200px){body{padding-top:0}}

body {
	font-size: 17px;
  	font-family: "freight-sans-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#page-header {
	margin-top: 80px;
	position: relative;
	display: block;
	text-align: center;
	text-transform: uppercase;
	font-weight: 200;
}

#site-name {
	font-size: 40px;
	letter-spacing: .1em;
  	font-family: "freight-sans-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1#site-name {
  margin: 0;
}

#block-blockify-blockify-site-name {
  margin: 20px 0;
}

 #page-header h1 {
	font-weight: 200;
	text-decoration: none;
}

h1 a:hover {
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	
}

.row-fluid aside.span3.pull-left {
	margin-left: 0;
}

.spotlight li {
	margin: 2em 0;
}

.spotlight li h3 {
	margin: 0 0 .5em 0;
}

@media (min-width: 980px) {
    /* reset nav bar - remove default styles - style appropriately */

.navbar .nav > li > a {
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    text-shadow: none;
    letter-spacing: .05em;
}

.navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
    color: #1e8797;
}
.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
    color: #1e8797;
    background-color: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.navbar .nav > .active-trail > a, .navbar .nav > .active-trail > a:hover, .navbar .nav > .active-trail > a:focus {
    color: #1e8797;
    background-color: transparent;
    box-shadow: none;
}

.front .navbar .nav > li > a {
    color: #ffffff;
}

.front .navbar .nav > li > a:hover, .front .navbar .nav > li > a:focus {
    color: #ffffff;
    background-color: rgba(0,0,0,.4);
}

/* end reset navbar */
/* Justify navbar */
.navbar .navbar-inner {
    padding: 0;
}
.navbar .nav {
    position: relative;
	display: table;
    width: 100%;
}
.navbar .nav > li {
    display: table-cell;
    float: none;
}
.navbar .nav > li > a {
    text-align: center;
}
.navbar .nav > li:first-child > a {
    border-left: 0;
}
.navbar .nav > li:last-child > a {
    border-right: 0;
    }

    .navbar-inner {
  background-color: transparent;
  background-image: none;
  border: none;
  box-shadow: none;
  text-align: center;
}

.nav {
  text-align: center;
  position: relative;
}


#navbar {
  text-align: center;
  position: relative;
}

/* end navbar justification */
}

.front .navbar-inner {
    background-color: transparent;
  }

  .front .navbar-inner .nav-collapse {
  background: transparent;
}

@media (max-width:979px) {
  .front .navbar-inner .nav-collapse {
  background: #ffffff;
}

}

.thumbnail {
	border: none;
    box-shadow: none;
    padding: 0px;
    border-radius: 0px;
}

.thumbnails {
	padding: 10px 0;
	margin: auto;
	text-align: center;
}

/*#block-blockify-blockify-site-name {
	position: absolute;
	bottom: 40px;
	left: 0;
}*/



#block-menu-block-1 {

	margin-right: auto;
    margin-left: auto;
}

#block-search-form form {
	margin-bottom: 0;
}

#block-views-news-block {

}
#block-views-news-block a {

	font-weight: 600;
	font-size: 20px;
}
#block-views-news-block b {

	font-size: 38px;
}

#block-views-news-block p, #block-views-events-block p{

	text-align: left;
	font-size: 16px;
}

#block-views-news-block h2, #block-views-events-block h2 {
	font-weight: 200;
	font-size: 24px;
}

.home-icon a {
	color: #a91515;
	text-decoration: none;
}

.home-icon h4 {
	margin-top: 30px;
	font-size: 22px;
	font-family: "freight-sans-pro";
	font-weight: 700;
	letter-spacing: .05em;
}

.main-container {
  margin-top: 80px;
  margin-bottom: 80px;
}

.front .main-container {
	margin: 100px 0;
}

#block-views-events-block {

	padding-left: 30px;
	padding-top: 15px;
	padding-bottom: 40px;
	padding-right: 40px;
	background: #f4f4f4;
}

.front .event-list h3, .event-list h5, .event-list h6 {
	margin: 0;
}

.front .event-list li {
  margin-top: 20px;
}

.date-display-single {
	font-size: 20px;
	font-family: "freight-sans-pro";
}

#block-views-events-block a, #block-views-news-block a {
	color: #a91515;
	font-family: "freight-sans-pro";
	font-size: 20px;
}

#block-views-events-block .span10 {

	padding-left: 20px;
}

#block-views-events-block .event-list li a {
	text-transform: uppercase;
	letter-spacing: .05em;
}

#block-views-translating-race-block {
	background-image: url(../images/translating.png);
	background-repeat: no-repeat;
}

#block-views-translating-race-block p {
	font-size: 24px;
	font-style: italic;
	line-height: 1.5;
	font-family: "freight-sans-pro";
	font-weight: 400;
	text-align: left;
	padding-top: 5px;
	color: #ffffff;
	padding-left: 60px;
	padding-right: 30px;
}

#block-views-translating-race-block h2 {
	text-transform: uppercase;
	font-family: "freight-sans-pro";
	color: #ffffff;
	padding-left: 60px;
	padding-right: 30px;
	padding-top: 70px;
}

@media (min-width: 1200px) {

.big-spotlight .spotlight-fields {
	height: 40em;
}

}

.unstyled {
	margin: 0;
	list-style-type: none;
}

#sasheader {
	height: 30px;
}

#sasheader img {
	margin-top: 5px;
}

#sasheader > ul > li {
	float: left;
	padding-left: 10px;
	font-size: 12px;
	line-height: 30px
}

#sasheader > ul > li.first {
	padding-left: 0;
}

.ext a {
	text-indent: -9999px;
	display: block;
	margin-top: 10px;
	height: 42px;
	width: 42px;
	float: right;
	background: url(../images/social-icons.png) 0 0 no-repeat;
}

.social-links li a {
  text-indent: -9999px;
  display: block;
  margin-top: 10px;
  height: 69px;
  width: 69px;
  float: right;
  background: url(../images/rees-social-icons.png) 0 0 no-repeat;
}

.social-links li.facebook a {
  background: url(../images/rees-social-icons.png) -69px 0 no-repeat;
}

.social-links li.youtube a {
  background: url(../images/rees-social-icons.png) -138px 0 no-repeat;
}

.social-links li a:hover {
  background-color: #57676E;
}

.footer {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #EEEEEE;
}

.footer #block-menu-menu-penn-weblogin, .footer #block-menu-block-5 {
	float: right;
}


.navbar-inner {
	background-image: none;
	border: none;
	box-shadow: none;
}

.navbutton p {
	text-align: center;
	text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    padding-left: 20px;
    padding-right: 20px;
    text-decoration: none;
    font-weight: 700;
}

.navbar .brand {
	font-size: 17.5px;
}

.navbar .brand.hidden-desktop {
	font-size: 14px;
}

.navbar .brand.hidden-desktop img {
	margin-right: 5px;
}

.navbar-search.hidden-desktop {
	margin: 0;
	padding: 0 0 10px 10px;
}

.nav > li > a:hover,
.nav > li > a:focus {
  background-color: transparent;
  text-decoration: none;
}

.region-sidebar-first .block-menu-block .nav li {
  margin: 10px 0;
  padding: 10px;
}

.region-sidebar-first .block-menu-block .nav li > a {
  font-size: 18px;
  text-align: left;
}

.region-sidebar-first .block-menu-block .nav li ul {
	margin: 0;
	text-align: left;
	list-style-type: none;
	list-style: none;
}

.region-sidebar-first .block-menu-block .nav li ul li {
	margin: 10px 0 0 20px;
	padding: 0;
}

.region-sidebar-first .block-menu-block .nav li ul li a {
	font-size: 90%;
	
}

.footer_inc {
	padding: 40px 0;
}

.footer_inc, .footer_col {
	background-color: #aecedb;
}

.footer {
	border-top: none;
}



#block-block-5 h2, #block-block-6 h2, #block-block-7 h2, #block-block-20 h2 {
	font-size: 18px;
	line-height: 1;
}

#block-block-4 a, #block-block-5 a, .footer .block-menu a, .footer .menu-name-menu-saml-login a {
	color: #000000;
	line-height: 0.5;
}

.navbar .nav > .active-trail > a, .navbar .nav > .active-trail > a:hover, .navbar .nav > .active-trail > a:focus {
	background-color: none;
    box-shadow: none;
    color: #a91515;
    text-decoration: none;
}

.item-list h3 {
	margin-bottom: 0;
	font-size: 21px;
	line-height: 24.5px;
}

.item-list .dateline {
	margin: 0;
	color: #999999;
	font-style: italic;
}

.people-list li {
	margin-bottom: 20px;
}

.people-list .profile-image {
	margin-right: 20px;
	float: left;
}

.people-list h2 {
	margin: 0;
	font-size: 21px;
	line-height: 24.5px;
}

.people-list h3 {
	margin: 0;
	font-size: 17.5px;
	line-height: 21px;
}

/* Calendar View Styles */

.view .date-nav-wrapper .date-nav {
    margin-bottom: 0;
    padding-bottom: 0;
    min-height: 16px;
    position: relative;
}

.view .date-nav-wrapper .date-heading {
    top: .5em;
}

.view .date-nav-wrapper .date-heading h3 {
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.date-nav .pager {
	margin: 12px 0;
}

.date-nav .pager li > a, .date-nav .pager li > span {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.calendar-calendar td {
    color: #777777;
    text-align: center;
}

.view-pc-section-table tr:hover {
    background-color: #EBF3F6;
}

/* Faculty Bookshelf  carousel adjustments */

/* Removes the default 20px margin and creates some padding space for the indicators and controls */
#facBookshelf.carousel {
    margin-bottom: 0;
	padding: 0 40px 30px 40px;
}
/* Reposition the controls slightly */
#facBookshelf .carousel-control {
	left: -12px;
}
#facBookshelf .carousel-control.right {
	right: -12px;
	left: auto;
}
/* Changes the position of the indicators */
#facBookshelf .carousel-indicators {
	right: 50%;
	top: auto;
	bottom: 0px;
	margin-right: -19px;
}
/* Changes the colour of the indicators */
#facBookshelf .carousel-indicators li {
	background: #c0c0c0;
}
#facBookshelf .carousel-indicators .active {
background: #333333;
}


/* remove to enable default bootstrap dropdown behavior */
ul.nav li.dropdown:hover ul.dropdown-menu {
  display: block;
}

ul.nav li.dropdown ul.dropdown-menu {
  margin-top: 0;
}
/* end bootstrap dropdown behavior */


.field-type-image {
	margin-bottom: 1em;
}

.carousel-inner .field-type-image {
	margin-bottom: 0;
}

.content-image-right {
	float: right;
	width: 50%;
	margin-left: 1em;
}

.content-image-left {
	float: left;
	width: 50%;
	margin-right: 1em;
}

.content-image-caption {
	font-size: 90%;
	color: #999999;
	font-style: italic;
}

.example .embed {
	float: right;
	max-width: 100%;
}

.example2 .embed {
	float: right;
	max-width: 40%;
}

.example2 .embed h2 {
	font-size: 18px;
	line-height: 20px;
}

.example .embed article, .example2 .embed article, article.example {
	margin: 0 0 10px 10px;
	padding: 10px;
	background: #cccccc;
}

.row-fluid .example.span9 {
    margin-left: 10px;
}

.example .embed article p, .example .embed article .field-name-field-credits, .example2 .embed article p, .example2 .embed article .field-name-field-credits {
	margin-bottom: 0;
	font-size: 90%;
	line-height: 16px;
}

.example .embed article .field-name-field-credits, .example2 .embed article .field-name-field-credits {
	color: #999999;
	font-style: italic;
}

/* .embed {
	float: right;
	margin: 0 0 10px 10px;
	padding: 10px;
	background: #cccccc;
	max-width: 50%;
} */

figure.image-asset {
	margin: 0;
}

.image-asset p {
	margin-bottom: 0;
}

.image-asset small {
	color: #999999;
	font-style: italic;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.videoWrapper body {
	margin: 0;
	padding: 0;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.view-id-videos li.span12, .view-id-videos li {
	margin: 1em 0;
}

/* fix Bootstrap mobile dropdown bug */

.dropdown-backdrop {
	position: static;
}

/* square away that search box -- Handsomely, now! */
.form-search .input-append .search-query, .form-search .input-append .btn {
    border-radius: 0;
}

.form-search .input-append .btn {
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border-color: #cccccc #cccccc #b3b3b3;
    border-image: none;
    border-radius: 0;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    text-shadow: none;
}

.grid-sizer, .grid-item {
	width: 31.914893617021278%;
}

.grid-item-inner {
	padding: 40px 30px;
	background-color: #f4f4f4;
}

.gutter-sizer {
	width: 2.127659574468085%;
}

.strength-wrapper {
	padding-top: 80px;
		margin-bottom: 80px;

	background: transparent url(../images/building-profiles.png) no-repeat center bottom;
   background-size: 100%;
}

.strength-wrapper h2.block-title {
	margin-bottom: 40px;
	text-align: center;
	font-size: 36px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .1em;
}

.grid-item > p {
	text-align: left;
}

.grid-item a {
	margin: auto;
	font-weight: 400;
	color: #a91515;
}

.grid-item h2 {
	line-height: 32px;
}

.grid-item h3 {
	font-size: 20px;
	line-height: 24px;
}

.grid-item h4 {
	font-size: 16px;
	line-height: 20px;
}

.grid-item h2 a {
	font-weight: 600;
}






/* Jumbotron Adjustments */

/* CUSTOMIZE THE NAVBAR
    -------------------------------------------------- */

    /* Special class on .container surrounding .navbar, used for positioning it into place. */
   .front .navbar-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 10;
      margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
      border-bottom: 3px #ffffff solid;
    }

    h1 a {
      color: #000000;
    }

    .front h1 a {
    	color: #ffffff;
    }

    .front .toolbar.toolbar-drawer .navbar-wrapper {
      margin-top: 85px; /* Adjust for admin interface. */
    }

    /* Remove border and change up box shadow for more contrast */
    .navbar .navbar-inner {
      border: 0;
    }

    .navbar-inner {
    background-image: none;
}

.navbar-inner {
    border: none;
    border-radius: 0;
}

    /* Downsize the brand/project name a bit */
    .navbar .brand {
      padding: 14px 20px 16px; /* Increase vertical padding to match navbar links */
      font-size: 16px;
      text-shadow: none;
    }

    /* Navbar links: increase padding for taller navbar */
    .navbar .nav > li > a {
      padding: 15px 20px;
    }

    /* Offset the responsive button for proper vertical alignment */
    .navbar .btn-navbar {
      margin-top: 10px;
    }





    /* RESPONSIVE CSS
    -------------------------------------------------- */

    @media (max-width: 1200px) {
      .navbar .nav > li > a {
        padding: 15px;
        font-size: 14px;
      }
    }

       /* CUSTOMIZE THE CAROUSEL
    -------------------------------------------------- */

    /* Carousel base class */

    #myCarousel.carousel .item:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
    background-color: rgba(0, 0, 0, .4);
}

@media (min-width: 980px) {


    #myCarousel.carousel .container {
      position: relative;
      z-index: 9;
    }

    #myCarousel.carousel-control {
      height: 80px;
      margin-top: 0;
      font-size: 120px;
      text-shadow: 0 1px 1px rgba(0,0,0,.4);
      background-color: transparent;
      border: 0;
      z-index: 10;
    }

    #myCarousel.carousel .item {
      height: 300px;
    }

    .front #myCarousel.carousel .item {
      height: 500px;
    }

    #myCarousel.carousel img {
      position: absolute;
      top: 0;
      left: 0;
     max-width: none;
     width: 100%;

    }

    }

    @media (min-width: 1200px) {

.spotlight-fields {
    height: 19em;
    }

     .big-spotlight .spotlight-fields {
	height: 40em;
	}

}

    @media (max-width: 979px) {

      .container.navbar-wrapper {
        margin-bottom: 0;
        width: auto;
      }
      .navbar-inner {
        border-radius: 0;
      }

      footer {
        padding: 0 20px;
      }

      .featurette {
        height: auto;
        padding: 0;
      }
      .featurette-image.pull-left,
      .featurette-image.pull-right {
        display: block;
        float: none;
        max-width: 40%;
        margin: 0 auto 20px;
      }

      .header {
        position: relative;
        z-index: 11;
      }

    }


    @media (max-width: 767px) {

      #myCarousel.carousel {
        margin-left: -20px;
        margin-right: -20px;
      }
      #myCarousel.carousel .container {

      }
  

      #myCarousel.carousel-caption {
        width: 65%;
        padding: 0 70px;
        margin-top: 100px;
      }
      #myCarousel.carousel-caption h1 {
        font-size: 30px;
      }
      #myCarousel.carousel-caption .lead,
      #myCarousel.carousel-caption .btn {
        font-size: 18px;
      }

      .marketing .span4 + .span4 {
        margin-top: 40px;
      }

      .featurette-heading {
        font-size: 30px;
      }
      .featurette .lead {
        font-size: 18px;
        line-height: 1.5;
      }

    }

   @media (min-width: 1200px) {
    	.front #myCarousel.carousel .item {
      	height: 675px;
    }

    #myCarousel .carousel-caption {
      top: 60%;
      background-color: transparent;
      text-align: center;
      z-index: 10;
      padding: 0;
    }

    #myCarousel .carousel-caption h4 {
    	font-family: "utopia-std-display";
    	font-size: 60px;
    	font-weight: 400;
    	letter-spacing: .025em;
    }

    }

    @media (max-width: 1199px) {

#myCarousel .carousel-caption {
      top: 60%;
      background-color: transparent;
      text-align: center;
      z-index: 10;
      padding: 0;
    }

    #myCarousel .carousel-caption h4 {
    	font-family: "utopia-std-display";
    	font-size: 48px;
    	font-weight: 400;
    	letter-spacing: .025em;
    }

    }


@media(max-width: 767px) {
	/* People page masonry */

	.grid-sizer, .grid-item {
	width: 48.93617021276595%;
}

}

@media(min-width: 980px) {
	.not-front .header {
    background-color: #aecedb;
    background: #aecedb url(../images/building-profiles.png) no-repeat center bottom;
   background-size: 100%;
}

}

.node-type-events .field-image, .node-type-news .field-image, .node-type-profile .field-image, .node-type-spotlight .field-image {
	margin-bottom: 20px;
}

@media(min-width: 768px) {
	.node-type-events .field-image, .node-type-news .field-image, .node-type-profile .field-image, .node-type-spotlight .field-image {
      	float: right;
      	margin: 0 0 20px 20px;
      }
}

/* Magnific Popup CSS */

.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: center;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }


.navbar-inner {
	margin-right: 30px;
}

 .navbar-inner #block-block-15{
  position: absolute;
  right: -40px;
  top: 18px;
  font-size: 24px;
}

a.open-popup-link {
	display: block;
	height: 32px;
	width: 32px;
	background: transparent url(../images/search-icon-black.png) 0 0 no-repeat;
	background-size: 16px 16px;
}

.front a.open-popup-link {
	background: transparent url(../images/search-icon-white.png) 0 0 no-repeat;
	background-size: 16px 16px;
}

#block-search-form {
	position: relative;
  padding: 20px;
  height: 100%;
  width: 100%;
  margin: 20px auto;
}

#block-search-form input.search-query {
padding: 10px;
margin: 0px;
font-size: 24px;
line-height: 36px;
background: #ffffff;
}

#block-search-form input.span2 {
	width: 100%;
}

.bottom-spotlight {
	margin-top: 2em;
}

.spotlight-fields {
	position: relative;
    height: 19em;
    overflow: hidden;
}


.spotlight-fields .overlay:before {
	content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -98;
    background: -moz-linear-gradient(top, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.10) 2%, rgba(0,0,0,0.80) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.10) 0%,rgba(0,0,0,0.10) 2%,rgba(0,0,0,0.80) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.10) 0%,rgba(0,0,0,0.10) 2%,rgba(0,0,0,0.80) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d000000', endColorstr='#bf000000',GradientType=0 );
}

.spotlight-fields img {
	position: absolute;
    top: 0;
    left: 0;
    z-index: -99;
    max-width: none;
    width: 100%;
}

.spotlight-fields .text-wrapper {
	position: absolute;
    top: auto;
    bottom: 2em;
    left: 0;
}

.spotlight-fields h2 {
	margin: 0;
	padding: 0 2em;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.spotlight-fields h2 a {
	color: #ffffff;
}

.spotlight-fields p {
	margin: 1em 0;
	padding: 0 3.7em;
	color: #ffffff;
}

@media(min-width:980px) and (max-width:1199px) {

.spotlight-fields .text-wrapper {
    	bottom: 1em;
		}

	.spotlight-fields h2 {
		padding: 0 1em;
		font-size: 24px;
		line-height: 32px;
	}

	.spotlight-fields p {
		margin: 1em 0;
		padding: 0 1em;
	}

	.spotlight-fields {
    height: 15em;
    }

     .big-spotlight .spotlight-fields {
	height: 32em;
	}
}

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

	.spotlight-fields .text-wrapper {
    	bottom: 1em;
		}

	.spotlight-fields h2 {
		padding: 0 1em;
		font-size: 18px;
		line-height: 24px;
	}

	.spotlight-fields p {
		margin: 1em 0;
		padding: 0 1em;
	}

	.spotlight-fields {
    height: 11em;
    }

     .big-spotlight .spotlight-fields {
	height: 24em;
	}

	#myCarousel .carousel-caption h4 {
		font-size: 36px;
		line-height: 44px;
	}

	.navbar .brand {
		color: #000000;
		font-size: 12px;
		font-weight: 700;
	}

	.front .navbar .brand {
		color: #ffffff;
	}

}

@media (max-width: 979px) {

	.grid-item-inner {
		padding: 15px;
	}

	.grid-item h2 {
		font-size: 24px;
		line-height: 24px;
	}

	.grid-item h3 {
		font-size: 16px;
		line-height: 18px;
	}

	.grid-item h4 {
		font-size: 14px;
		line-height: 16px;
	}
}

@media (max-width:767px) {

	.spotlight-fields .text-wrapper {
    	bottom: 1em;
		}

	.spotlight-fields h2 {
		padding: 0 1em;
		font-size: 18px;
		line-height: 24px;
	}

	.spotlight-fields p {
		margin: 1em 0;
		padding: 0 1em;
	}

	.spotlight-fields {
    height: 14em;
    }

	.big-spotlight .spotlight-fields {
	height: 14em;
	margin-bottom: 2em;
	}

	.strength-wrapper h2.block-title {
		margin-bottom: 0;
	}

	#myCarousel.carousel .item {
		height: 16em;
	}

	#myCarousel .carousel-caption h4 {
		font-size: 24px;
		line-height: 36px;
	}

	.navbar .brand {
		padding: 10px 0;
		color: #000000;
	}

	.front .navbar .brand {
		color: #ffffff;
	}

	.navbar-inner {
		margin: 0;
	}

	.navbar .btn-navbar {
		margin-right: 0;
	}

	.front .navbar-wrapper {
		margin-bottom: 10px;
		border-bottom: none;
	}

	.footer_inc {
		padding: 20px 10px;
	}

}

@media (max-width:484px) {

	#myCarousel.carousel .item {
		height: 14em;
    background: #ffffff;
	}

	#myCarousel .carousel-caption {
    position: absolute;
		top: 50%;
    background: transparent;
	}
}

#block-views-spotlight-block {

	/* background-image: url(../images/orenstein.png); */
  background-image: url(../images/moscow.png);
	background-position: left center;
	background-repeat: no-repeat;
	overflow: hidden;
}

#search-block-form .btn{
	display: inline-block;
padding: 10px 12px;
margin-bottom: 0px;
font-size: 14px;
line-height: 20px;
text-align: center;
vertical-align: middle;
cursor: pointer;
color: #333;
}

#block-views-spotlight-block-1 {

	background-image: url(../images/moscow.png);
	background-position: left center;
	background-repeat: no-repeat;
	overflow:hidden;
}

#block-views-spotlight-block h2, #block-views-spotlight-block-1 h2 {
	color: #ffffff;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 225px;
}

/** social links **/
ul.social-icons li {
  font-size: 65px;
  line-height: 65px;
}

ul.social-icons > li > a:link, ul.social-icons > li > a:visited {
  color: #ffffff;
  transition: color .5s;
}

ul.social-icons > li > a:hover, ul.social-icons > li > a:focus, ul.social-icons > li > a:active {
  color: #005580;
  transition: color .5s;
}