rexjiang92
9/27/2017 - 8:48 PM

motion QA

/* typography */

@import url('https://fonts.googleapis.com/css?family=Raleway:400,400i,700');

html,body,h1,h2,h3,h4,h5,p,ul,li {
  font-family: 'Raleway', sans-serif!important;
}

p, .field-type-text-with-, .srv-8 .body {
  font-size: 1rem!important;
  margin-bottom: 1.25rem!important;
  font-family: 'Raleway', sans-serif!important;
}

.member-description .full-name,
.member-description .field,
button, .button,
.blg-3 .content, .view_display-blg_3 article .content {
  font-family: 'Raleway', sans-serif!important;
}

.top-bar-section ul li > a {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
}




/* Header */
.block-logo .field-logo .media-image img{
  margin: 10px 0;
  object-position: center;
  font-family: "object-fit: contain; object-position: center";
}

.block-getintouch{
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
.block-getintouch .getintouch-labels li {
  border: none !important;
}

.block-getintouch .getintouch-buttons > li .button {
  color: white;
  background: #3d4d75;
  margin-right: 8px;
  border-right: none;
}
.block-getintouch .getintouch-buttons > li .button:hover{
  background: #3d4d75;
  color: #fff;
}

@media (max-width: 812px){
  .getintouch-buttons{
    display: none!important;
  }
}

.orbit-container .view-mode-slider:before {
  background: rgba(0, 0, 0, 0.15);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  content: '';
  position: absolute;
  width: 100%;
}


/*inside hero banner*/
#block-pagetitle{
  height: auto!important;
  padding: 2rem 0;
  min-height: 150px;
  align-items: center;
}

.blog-single .field-node--field-featured-image .media-image img{
  margin-bottom: 10px;
}
.blog-single .posted{
  margin-bottom: 5px;
}
/*===================================================
  Footer
=====================================================*/

.footer-wrapper {
  background:#f8f8f8;
}

.block-awfooterblock {
  border:none;
}

.footer-wrapper #edit-submit {
  margin-top: 10px;
}

/*===================================================
  PADDING FIX content
=====================================================*/
@media only screen and (max-width: 682px){
 .row .columns{
  padding-left: .6666666667rem;
  padding-right: .6666666667rem;
 }
 .row .row{
  margin-left: 0;
  margin-right: 0;
 }
 .tm-visitor-page > .views-row{
  padding-left: 0;
 }
 .tm-visitor-page .member-description, .single .member-description, .member-biography{
  padding: 0;
 }
 .tm-visitor-page article .offset-border, .single .offset-border{
  display: none;
 }
 .tm-visitor-page .headshot, .single .headshot{
  margin: 0 0 15px 0;
 }
}

/*===================================================
  Navigation
=====================================================*/

/* fix issues with container tab with no background in dropdown + positionning on hover */
.top-bar-section ul ul li:not(.has-form) > span {
  background: #3d4d75;
  color: #FFFFFF;
  white-space: nowrap;
}

.top-bar-section ul .overflow-menu ul li:not(.has-form) > span:hover {
  background: #000000;
  color: #FFFFFF;
}


/* display dropdown on the left instead of on the right to avoid been cut */
.top-bar-section .dropdown {
  left: auto;
  right: 0;
}


.top-bar-section ul .overflow-menu ul ul.dropdown {
  left: auto;
  right: 100%;
}

/*===================================================
  END QA
=====================================================*/