/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

html, body {
  font-family: 'Roboto', 'Helvetica', sans-serif;
  margin: 0;
  padding: 0;
}
.mdl-demo .mdl-layout__header-row {
  padding-left: 40px;
}
.mdl-demo .mdl-layout.is-small-screen .mdl-layout__header-row h3 {
  font-size: inherit;
}
.mdl-demo .mdl-layout__tab-bar-button {
  display: none;
}
.mdl-demo .mdl-layout.is-small-screen .mdl-layout__tab-bar .mdl-button {
  display: none;
}
.mdl-demo .mdl-layout:not(.is-small-screen) .mdl-layout__tab-bar,
.mdl-demo .mdl-layout:not(.is-small-screen) .mdl-layout__tab-bar-container {
  overflow: visible;
}
.mdl-demo .mdl-layout__tab-bar-container {
  height: 64px;
}
.mdl-demo .mdl-layout__tab-bar {
  padding: 0;
  padding-left: 16px;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
}
.mdl-demo .mdl-layout__tab-bar .mdl-layout__tab {
  height: 64px;
  line-height: 64px;
}
.mdl-demo .mdl-layout__tab-bar .mdl-layout__tab.is-active::after {
  background-color: white;
  height: 4px;
}
.mdl-demo main > .mdl-layout__tab-panel {
  padding: 8px;
  padding-top: 48px;
}
.mdl-demo .mdl-card {
  height: 0px; /*Keyul*/
  display: flex;
  flex-direction: column;
  width: auto; /*Keyul*/
}
.mdl-demo .mdl-card > * {
  height: auto;
}
.mdl-demo .mdl-card .mdl-card__supporting-text {
  margin: 40px;
  flex-grow: 1;
  padding: 0;
  color: inherit;
  width: calc(100% - 80px);
  text-align: center; /*Added by Keyul*/
}
.mdl-demo.mdl-demo .mdl-card__supporting-text h4 {
  margin-top: 0;
  margin-bottom: 20px;
}
.mdl-demo .mdl-card__actions {
  margin: 0;
  padding: 4px 40px;
  color: inherit;
}
.mdl-demo .mdl-card__actions a {
  color: #00BCD4;
  margin: 0;
}
.mdl-demo .mdl-card__actions a:hover,
.mdl-demo .mdl-card__actions a:active {
  color: inherit;
  background-color: transparent;
}
.mdl-demo .mdl-card__supporting-text + .mdl-card__actions {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.mdl-demo #add {
  position: absolute;
  right: 40px;
  top: 36px;
  z-index: 999;
}

.mdl-demo .mdl-layout__content section:not(:last-of-type) {
  position: relative;
  margin-bottom: 48px;
}
.mdl-demo section.section--center {
  max-width: 860px;
}
.mdl-demo #features section.section--center {
  max-width: 620px;
}
.mdl-demo section > header{
  display: flex;
  align-items: center;
  justify-content: center;
}
.mdl-demo section > .section__play-btn {
  min-height: 200px;
}
.mdl-demo section > header > .material-icons {
  font-size: 3rem;
}
.mdl-demo section > button {
  position: absolute;
  z-index: 99;
  top: 8px;
  right: 8px;
}
.mdl-demo section .section__circle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-grow: 0;
  flex-shrink: 1;
}
.mdl-demo section .section__text {
  flex-grow: 1;
  flex-shrink: 0;
  padding-top: 8px;
  margin-top: 15px;
}
.mdl-demo section .section__text h5 {
  font-size: inherit;
  margin: 0;
  margin-bottom: 0.5em;
}
.mdl-demo section .section__text a {
  text-decoration: none;
}
.mdl-demo section .section__circle-container > .section__circle-container__circle {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  margin: 8px 0;
}
.mdl-demo section.section--footer .section__circle--big {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  margin: 8px 32px;
  padding:15px;
  text-align:center;
  text-decoration: none;
}
.mdl-demo .is-small-screen section.section--footer .section__circle--big {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  margin: 8px 16px;
}
.mdl-demo section.section--footer {
  padding: 64px 0;
  margin: 0 -8px -8px -8px;
}
.mdl-demo section.section--center .section__text:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,.13);
}
.mdl-demo .mdl-card .mdl-card__supporting-text > h3:first-child {
  margin-bottom: 24px;
}
.mdl-demo .mdl-layout__tab-panel:not(#overview) {
  background-color: white;
}
.mdl-demo #features section {
  margin-bottom: 72px;
}
.mdl-demo #features h4, #features h5 {
  margin-bottom: 16px;
}
.mdl-demo .toc {
  border-left: 4px solid #C1EEF4;
  margin: 24px;
  padding: 0;
  padding-left: 8px;
  display: flex;
  flex-direction: column;
}
.mdl-demo .toc h4 {
  font-size: 0.9rem;
  margin-top: 0;
}
.mdl-demo .toc a {
  color: #4DD0E1;
  text-decoration: none;
  font-size: 16px;
  line-height: 28px;
  display: block;
}
.mdl-demo .mdl-menu__container {
  z-index: 99;
}

/* Added by Keyul */


.demo-card-event.mdl-card {
    background:#4d88dc;
}

.demo-card-event.mdl-card a {
    color:#ffffff;
    text-decoration: none;
}

.header_layout{
  background:#fff;
  color:#4d88dc;
}

.mdl-mega-footer--drop-down-section{
  width: 100%;
}

.material-icons.md-48 { font-size: 48px; }
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-96 { font-size: 96px; }
.material-icons.md-dark { color: #4d88dc; }

.material-icons.md-dark a{ color: #4d88dc;
    text-decoration: none; }

.portfolio-logo a{
  color: #4d88dc;
  text-decoration: none;
  font-weight: bold;
}
.mdl-layout__header-row i a{
    color: #4d88dc;
    text-decoration: none;
    /*font-size: 96px;*/
}

.mdl-grid.box-design{
  background: #ffffff;
  padding: 0px;
  margin-bottom: 30px;
}

.mdl-grid.box-design h4{
    margin-bottom: 2px;
    margin-top: 2px;
}

.mdl-grid.box-design h4 a{
  color:#4d88dc;
  text-decoration:none;
  font-size: 27px;
}

.mdl-grid.box-design p{
    margin:5px;
}

.demo-card-event.mdl-card h3{
  margin: 12px 0 10px 0px;
  padding-bottom:15px;
}

/*-------------*/
.portfolio-logo-row {
    min-height: 200px;
}

.portfolio-header .mdl-layout__header-row {
    padding: 0;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.mdl-layout__title {
    font-size: 14px;
    text-align: center;
    font-weight: 300;
}

.portfolio-logo {
    background-size: cover;
    /*height: 150px;*/
    width: 750px;
    margin: auto auto 10px;
}

.portfolio-header {
  position: relative;
}
.mdl-layout__header .mdl-layout__drawer-button,
.demo-layout-transparent .mdl-layout__header,
.demo-layout-transparent .mdl-layout__drawer-button {
  /* This background is dark, so we set text to white. Use 87% black instead if
     your background is light. */
  color: #4d88dc;
}

.show-tools{
  padding:0px;
  border-bottom: 1px solid #f5f5f5;
}

.show-tools a{
  text-decoration: none;
  color: #4d88dc;
  font-size: 17px;
}
.mdl-cell.mdl-cell--4-col.tools-pic img{
  width: 62px;
  height: 62px;
}
.tool-name{
  padding: 15px 10px 10px 10px;
}

.set-space{
  position: relative;
  display: block;
}

/*---- New Tools ---*/
 .tool-name-part{
            font-weight: 500;
            font-size: 16px;
            color: #4d88dc;
            /*white-space: nowrap;
            overflow: hidden;
            width: 150px;*/
            text-overflow: ellipsis;
            text-align: center;
            padding-bottom: 2px;

        }

        .tool-part img{
            max-width:100%;
            max-height:100%;
            border: 1px solid grey;
            border-radius: 2px;
        }
        .tool-logo img{
          /*  border: 1px solid grey; */
            border-radius: 4px;
            margin: auto;
            display: block;
        }

        .main-cont{
             margin-left: 50px;
        }

        .main-cont .mdl-card{
            height: auto;
        }

        .main-cont .mdl-card a{
            text-decoration: none;
        }

/*Carbon  ad*/
#carbonads {
  display: block;
  overflow: hidden;
  padding: 1em;
  font-family: Verdana, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.5;
}

#carbonads span {
  position: relative;
  display: block;
  overflow: hidden;
}

.carbon-img {
  float: left;
  margin-right: 1em;
}

.carbon-img img {
  display: block;
}

.carbon-text {
  display: block;
  float: left;
  max-width: calc(100% - 130px - 1em);
  text-align: left;
}

.carbon-poweredby {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  font-size: .8em;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 1px;
}

#carbonads a{
color: #4d88dc;
}


/* advertise Page */
.android-be-together-section {
  position: relative;
  height: 250px;
  width: auto;
  background-color:#4d88dc;
  background-size: cover;
}

.logo-font {
  font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  line-height: 1;
  color: #ffffff;
  font-weight: 500;
}

.android-slogan {
  font-size: 30px;
  padding-top: 20px;
}

.android-sub-slogan {
  font-size: 21px;
  padding-top: 24px;
}

.android-create-character {
  font-size: 21px;
  padding-top: 400px;
}

  .android-create-character a {
    text-decoration: none;
    color: #767777;
    font-weight: 300;
  }

  .android-customized-section {
}

.android-customized-section-text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 16px 0 16px;
  text-align: center;

}

  .android-customized-section-text p {
    padding-top: 16px;
    text-align: center;
    font-size: 16px;

  }

.android-customized-section-image {
  background: url('images/devices.jpg') center top no-repeat;
  background-size: cover;
  height: 400px;
}
