/*
Theme Name: HONS
Theme URI: http://johnadnielcastillo.com/
Author: jcastillo
Author URI: http://johnadnielcastillo.com/
Description: Theme for Haematology & Oncology Northern Sydney
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hons

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body {
  padding-top: 100px;
  padding-bottom: 20px;
    font-size: 16px;
}

.admin-bar .navbar-fixed-top {
	margin-top: 30px;
}

@media (min-width:768px) {
	.sub-menu {
		display: none;
		position: absolute;
		background: #222;
		padding: 10px 15px;
		width: 200px;
		box-sizing: border-box;
	}

	li:hover .sub-menu {
		display: block;
	}

}

.sub-menu li {
	margin-bottom: 10px;
	list-style: none;
}

.sub-menu li:last-child {
	margin-bottom: 0;
}

.sub-menu a  {
	color: #999;
	text-decoration: none;
}

.sub-menu a:hover  {
	color: #fff;	
}	

.current-menu-item > a, .current-menu-parent > a {
	background: #eee;	
}
.current-menu-parent li a {
	background: inherit;
}
.current-menu-parent .current-menu-item a {
	color: #fff;
	font-weight: bold;
}

.sidebar { 
	margin-top: 40px;
	color: #444;
}

.sidebar h3 {
	color: #888;
}

.widget {
	margin: 10px 0 30px;
}

article.post {
	margin: 20px 0 40px;
}

.featured-image img,
.portfolio-piece img,
.portfolio-image img {
	max-width: 100%;
}

.prev-next {
	font-size: 24px;
	margin-top: 30px;
	text-align: right;
}

@media (max-width:540px) {
	.portfolio-piece h4 {
		font-size: .8em;
	}
	.prev-next {
		margin-top: 15px;
		font-size: 18px;
	}
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
       -moz-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}


/* CSS by John */

:root {
    /* Background */
    --main-bg-color: #0b3b66;
    --second-bg-color: #fff;
    
    /*fonts*/
    --main-font-color: #7e7e7e;
    --accent-font-color: #0b3b66;    
    --inverted-font-color: #fff;
}

img.custom-logo {
    margin: 20px;
    height: auto;
}

.navbar-right {
    float: right;
    margin-right: 0px;
    margin-top: 20px;
}

.nav ul{
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

#top-widgets {
    background: var(--main-bg-color);
    color: var(--inverted-font-color);
    padding: 5px;

}

#top-widgets .col-md-4 {
        text-align: right;
}

#top-widgets .widget {
    margin: 0;
}

#top-widgets i {
    margin-left: 10px;
    margin-right: 5px;
}

section {
  padding: 0 0 30px;
}

.page-header {
    padding-bottom: 9px;
    margin: 0 0 20px;
}

#banner {
    background: url("./images/banner-bg.jpg") no-repeat center right #f0f1f1;
    background-size: cover;
    padding: 0;
} 


#banner .container {
    min-height: 50vh;
    display: flex;
  align-items: center;
}

#banner img {
    margin: 20px;
    cursor: pointer;
}

/* Blurb */

.blurb {
    text-align: center;
}

.blurb img {
  max-width: 50%;
  margin: 60px auto;
}

.blurb h3 {
    min-height: 52px;
    margin: 30px auto;
}

/* Quote */

.home .pull-quote {
      margin: 60px 0;
}

.pull-quote {
  background: url("./images/pull-quote-bg.jpg") no-repeat #eee center;
  background-size:cover;
  padding: 5%;
  margin: 30px 0 0;
}

.quote {
  text-align: center;
  font-size: 3em;
  font-weight: 300;
  max-width: 550px;
  margin: 0 auto;
  color: var(--inverted-font-color)
}

/* Doctors */

.doctors {
  text-align: center;
}

.doctors h3 {
  margin: 30px;
}

.doctors .container > h3:after {
  content:"";
  height: 35px;
  width: 235px;
  display: block;
  margin: 30px auto;
  background: url("./images/divider.png/");
}


.doctors img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: top center;
}

.doctors [class*="col-"] {
  margin-bottom: 30px;
    min-height: 550px;
}

p {
  color: var(--main-font-color);
}

/* inner page */
#inner-banner {

}

#inner-banner img {
    width: 100%;
    height: 20vh !important;
    object-fit: cover;
    object-position: center;
}




/*footer */
footer {
background: var(--main-bg-color);
  padding: 60px 0;
  color: var(--inverted-font-color)
}

footer p {
  color: var(--inverted-font-color);
  opacity: 0.5;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
	color: rgba(255, 255, 255, 1);
}

footer h4 {
  text-transform: uppercase;
  font-size: 1.2em;
  display: table-cell;
    white-space: pre;
  padding-right: 10px;
}

.titleF {
    margin-bottom: 30px;
}

footer [class*="col-"] .col-md-6 {
  padding: 0 30px 0 0;
}

.right-linie {
	display: table-cell;
  align-items: center;
	position: relative;
	width: 100%;
      vertical-align: middle;
}

.right-linie {
	top: 1px;
}

.right-linie span {
	width: 100%;
	display: block;
	position: relative;
}

.right-linie span {
	border-bottom: 1px solid #fff;
	opacity: 0.12;
}

.right-linie span::before {
	position: absolute;
	content: '';
	left: 0;
	width: 7px;
	height: 7px;
	top: -3px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.right-linie span::before {
	background: #fff;
}


/* Rsponsiveness */
@media screen and (max-width: 768px) {
    
.navbar-right {
    float: none;
    }
    
    .navbar-toggle {
        background-color: var(--main-bg-color);
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
            margin-top: 20px;
    }
    .navbar-toggle .icon-bar {
        background: #fff;
    }
    
    .doctors img {
  width: 300px;
  max-height: 300px;
    }
    
    .doctors p {
        max-width: 300px;
        margin: auto;
    }
    
}
