/* style.css
 * --------------------------------------------------------------*/

/* Body initialization
 * ----------------------------------------------------------*/
body {
    margin: 0;
    padding: 0;
    background-color: #eee;
    font-family: 'Ubuntu', sans-serif;
}

/* Remove link outline in Firefox. */
body a, body a:link, body a:visited, body a:hover, body a:focus, body a:active  {
    outline: none !important;
}
/*---------------- End body initialization ------------------*/

/* =Specific .container style
 * -----------------------------------------------------------*/

@media screen and (max-width: 1199px) {
    .container  {
        width: 100%;
    }
} /* Small Laptop to Mobile*/
/* ---------- End specific .container style -----------------*/

/* #nav dimensions
 * -----------------------------------------------*/
#nav    {
    height: 90px;
    background-color: #fff;
    margin: 0;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 767px) {
   #nav    {
      height: 60px;
  }
}

/* =Logo style
 * ------------------------------------------------*/
#nav .navbar-brand  {
    margin: 0;
    padding: 0;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    #nav .navbar-brand img  {
        height: 65px;
        margin-top: 13px;
        width: auto;
        vertical-align: middle;
    }
} /* Small Laptop */

@media screen and (min-width: 768px) and (max-width: 991px) {
    #nav .navbar-brand img  {
        height: 70px;
        width: auto;
    }
} /* Tablet */

@media screen and (max-width: 767px) {
    #nav .navbar-brand img  {
        height: 60px;
        width: auto;
    }
} /* Mobile */

.menu-has-shadow    {
    box-shadow: 0 8px 10px #666;
}

/* #header properties
 * ------------------------------------------------*/

 /* Navigation list properties
--------------------------------------------------*/

#header a   {
    color: #000;
    text-decoration: none;
}

#header a:link, #header a:visited	{
    color: #000;
}

#header a:hover	{
    color: #910302;
}

/* Main menu items color
 * ----------------------------------------------*/
a:hover  {
    background-color: #f9efa8;
}

#header  button  {
    background-color: #910302;
}

#header  button span.icon-bar    { 
    background-color: #fff;
}

#buttons-links  {
    width: 100%;
    margin: 15px 0;
    text-align: center;
}

#myNavbar   {
    margin-right: 10px;
    margin-top: 27px;
}

@media screen and (max-width: 768px) {
    #myNavbar   {
    margin-right: 8px;
    }
}

#myNavbar > ul > li > a {
    padding-bottom: 8px;
    padding-top: 8px;
    padding-left: 8px;
    padding-right: 6px;
    letter-spacing: 0.05em;
}

#myNavbar > ul > li.active > a {
    height: 38px;
}

#myNavbar ul li a  {
    color: #000;
}

#myNavbar ul li.active a  {
    background-color: #333;
    color: #fff;
}

/* Custom menu properties
 * ----------------------------------------*/
#custom-menu    {
    margin-top: 27px;
}

#custom-menu ul {
    list-style: none;
}

#custom-menu a:link, #custom-menu a:visited,
#custom-menu a:hover, #custom-menu a:active    {
    text-decoration: none;
}

#custom-menu > ul > li  {
   float: left;
   height: 36px;
   margin-left: 0;
   margin-right: 0;
}

#custom-menu > ul > .main-item  {
    margin-left: 0;
    margin-right: 0;
}

#custom-menu > ul > .active {
    margin-left: 0;
    margin-right: 0;
}

#custom-menu > ul > li > a   {
    display: inline-block;
    width: 100%;
    padding: 10px 13px 10px 11px;
    margin: 0;
}

#custom-menu > ul > li > a:hover    {
    padding: 10px 13px 10px 11px;
}

#custom-menu > ul ul   {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#custom-menu li   {
    padding: 0;
}

#custom-menu li > a {
    display: inline-block;
    width: 100%;
    color: #000;
    font-size: 14px;
}

#custom-menu .main-item:hover   {
    background-color: #eee;
}

#custom-menu .active > .main-item,
#custom-menu .active > .main-item:hover   {
    background-color: #910302;
    color: #fff;
    cursor: default;
}

#custom-menu .hovered > a {
    display: inline-block;
    width: 100%;
    background-color: #eee;
    padding: 10px 13px 10px 11px;
}

/* =#MyNavbar .active properties
 * ----------------------------------------*/
@media screen and (max-width: 991px)    {
    #myNavbar .navbar-nav    {
        background-color: #fff;
        border: 1px solid #cdcdcd;
    }
}

#myNavbar .navbar-nav .active > a/*, #myNavbar .navbar-nav .dropdown-menu .active > a*/  {
    background-color: #910302;
    color: #fff;
}
/* #banner properties
 * -----------------------------------------*/
#banner {
    position: relative;
    height: 60px;
    margin-top: 88px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    background-color: #910302;
    color: #fff;
    border-top: 12px solid #000;
    /*border-bottom: 4px solid #000;*/
}

@media screen and (max-width: 767px) {
    #banner {
        height: 100%;
        margin-top: 58px;
        border-top: none;
    }
   
}

/*-------------- End #banner --------------*/

/* =Tutor Search Form
 * -----------------------------------------------------------------------*/
/* Insert tutor-search-style.css content!!!
 * -----------------------------------------------------------------------*/
/* =Main Text
 * ------------------------------------------------*/
#main-text  {
    padding-bottom: 30px;
    padding-top: 8px;
    margin-top: 30px;
    background-color: #eee;
}

#main-container {
    padding-left: 25px;
}

@media screen and (max-width: 767px)    {
    #main-container {
        padding-left: 0;
    }
}

/* =Headings #main-text
 * -----------------------*/
h1  {
    margin:0 0 20px 0;
    font-family: Constantia, Palatino, serif;
    color: #000;
    text-align: left;
}

h2   {
    color: #000;
    margin: 0;
    margin-bottom: 18px;
    font-size: 26px;
}

#main-text h2   {
    margin-top: 40px;
}

#main-text .leading-h2 {
    margin-top: 16px;
}

@media screen and (max-width: 767px)    {
    #main-text .leading-h2 {
        margin-top: 20px;
    }
}

h3{
    font-size: 20px;
    color: #910302;
}

/* End Headings #main-text */

#main-text p   {
    font-size: 17px; /*16px;*/
    padding: 0 18px 0 0;
    margin: 10px 0px 20px 0;
    color: #000; /*#333;*/
}

@media screen and (max-width: 991px) {
    #main-text p    {
        font-size: 16px; /*1em;*/
    }
}

#main-text a, #main-text a:hover {
    text-decoration: none;
}

#main-text a   {
    color: #337ab7;
    font-weight: bold;
    border-bottom: 1px dotted #337ab7;
}

#main-text a:hover {
    color: #7eb1dc;
    border-bottom: 1px dotted #7eb1dc;
    background-color: transparent;
    text-decoration: none;
}

#main-text li   {
    font-size: 17px; /*16px;*/
}

#main-container .secondary-title   {
    font-size: 19px;
    color: #000;
    font-weight: 500;
    /*font-style: italic;*/
}

/* Left column images & captions style
 * -----------------------------------*/
#main-text .first-image-left    {
    margin-top: 22px;
}

#main-text .caption {
    margin-top: 8px;
}

/* =Panel style
 * ------------------------------------------------*/
#main-text .panel   {
    border: 1px solid #b5b5b5;
}

#main-text .panel-heading    {
    border-bottom: 1px solid #b5b5b5;
    background-color: #656565;
}

#main-text .panel-heading  h2  {
    margin-top: 0;
    margin-bottom: 0;
    color: #fff;
}

#main-text .panel-body  {
    background-color: #f5f5f5;
}

#main-text .panel-body h3   {
    margin-left: 0px;
}

#browse-tutors .panel   {
    margin-top: 40px;
}

#browse-tutors .panel p {
    margin-left: 0;
    padding-left: 0;
}

/* =Well style
 * ------------------------------------------------*/
#main-text .well	{
    border: 1px solid #b5b5b5;
    background-color: #f5f5f5;
    padding: 20px 20px 20px 25px;
}

#main-text .well h3{
    margin-top: 0;
}

#main-text .well .paragraph-at-the-end {
    margin-bottom: 0;
}

#main-text .well ul {
    margin-bottom: 0;
}

#main-text .well li {
    margin-bottom: 6px;
}

#main-text .well li:last-of-type    {
    margin-bottom: 0;
}

/* =Testimonial box
 * ------------------------------------------------*/
#main-text .testimonial-box {
    border: 1px solid #b5b5b5;
    border-radius: 4px;
    background-color: #fff;
    padding: 10px 30px;
    margin: 60px 0;
}

#main-text .testimonial-box p  {
    margin-right: 0;
    padding-right: 0;
}

#main-text .testimonial-box h3+p {
    text-align: center;
}

/* =Form style
 * -------------------------------------------------*/
#contact-page p {
    margin-left: 0;
    padding-left: 0;
}

#contact-page form span   {
    font-size: 0.95em;
    margin-left: 10px;
    font-weight: normal;
}

/* =Quotes
 * ---------------------------------------------------------------*/
#main-text .quotation-div  {
    width: 90%;
    margin: 50px auto;
    text-align: center;
}
#main-text .quotation-div blockquote   {
    padding: 10px 0;
    border-left: 0px solid #000;
}

#main-text .quotation-div p    {
    font-size: 1.2em;
    color: #6b6b6b;
    margin: 0;
    padding: 0;
}

#main-text .quotation-div .open-quot   {
    margin-bottom: 8px;
}

/* =Footer
 * -----------------------------------------------------------------*/
#footer {
    background-color: #3c3c3c;
    border-top: 1px solid #fff;
    padding-bottom: 30px;
    padding-top: 30px;
}

#footer .first-column div p  {
    padding-top: 0;
    margin-top: 0;
}

#footer h3, h5  {
    color: #d0d0d0;
    padding-left: 0;
}

#footer p   {
    font-size: 0.85em;
    color: #fff;
}

#footer a   {
    color: #fff;
    border-bottom: 1px dotted #fff;
}

#footer a:hover {
    color: #fec836;
    border-bottom: 1px dotted #fec836;
    background-color: transparent;
    text-decoration: none;
}

#footer .footer-address {
    margin-bottom: 8px;
}

#footer .address-label  {
    margin-bottom: 5px;
}

#footer .copyright  {
    font-size: 0.85em;
}

#footer .social-icons a  {
    margin-left: 10px;
    opacity: .5;
    border: none;
}

#footer .social-icons a img {
    height: 32px;
    width: auto;
}

#footer .social-icons a:first-child {
    margin-left: 0;
}

#footer .social-icons a:hover   {
    opacity: 1;
    border: none;
}

/* =Back-to-Top
 * -----------------------------------------------------------*/
.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  /*background: rgba(232, 98, 86, 0.8) url(images/icons/cd-top-arrow.svg) no-repeat center 50%;*/
  background: rgba(32, 32, 32, 0.8) url(../images/icons/cd-top-arrow.svg) no-repeat center 50%;
  border-radius: 8px;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #3a3a3a;
  opacity: 1;
}

#footer+a:hover {
    background-color: #111;
    opacity: 1;
}

@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}


