/* Default styling */
@font-face{
	font-family: arima;
	src: url('/media/font/ArimaMadurai-Regular.ttf');
}

@font-face{
	font-family: arimaLight;
	src: url('/media/font/ArimaMadurai-Light.ttf');
}

@font-face{
	font-family: arsenal;
	src: url('/media/font/Arsenal-Regular.ttf');
}

@font-face{
	font-family: arsenalLight;
	src: url('/media/font/Arsenal-Light.ttf');
}

@font-face{
	font-family: arsenalItalic;
	src: url('/media/font/Arsenal-Italic.ttf');
	font-style: italic;
}

@font-face{
	font-family: arsenalMedium;
	src: url('/media/font/Arsenal-Medium.ttf');
}

@font-face{
	font-family: arsenalBold;
	src: url('/media/font/Arsenal-Bold.ttf');
}

@font-face{
	font-family: latoBold;
	src: url('/media/font/Lato-Bold.ttf');
}

body {
    font-family: arsenal, Arial, sans-serif;
    font-size: 16px;
    line-height: 120%;
    overflow-y: scroll;
    overflow-x: hidden;
}

h1 {
    font-family: arsenalMedium, Arial, sans-serif;
    font-size: 260%;
    margin: 0 0 20px;
	color: #B7805F;
}

h2 {
    font-size: 220%;
    line-height: 140%;
	color: #B7805F;
}

h3 {
    font-size: 200%;
    line-height: 130%;
	color: #B7805F;
}

h4 {
    font-size: 150%;
}

h5 {
    font-size: 140%;
}

p {
    margin: 0 0 20px;
}

.text-center {
    text-align: center;
}

a {

}

a:hover {

}

ol {
    text-align: justify;
    list-style-type: decimal;
    padding-left: 15px;
    margin: 0 0 20px;
}

ol li {
    margin: 0 0 10px;
    color: #B7805F;
}

ol li span {
    color: #000;
}

ul {
    text-align: justify;
    list-style-type: none;
    padding-left: 30px;
    margin: 0 0 20px;
}

ul li {
    margin: 0 0 10px;
    position: relative;
}

ul li::before {
    content: "";
    background-image: url('../media/design/cog.png');
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 8px;
    position: absolute;
    top: 2px;
    left: -30px;
}

b, strong {
    font-family: latoItalic, Arial, sans-serif;
}

i, em {
    font-family: latoItalic, Arial, sans-serif;
}

sup {
    font-size: 60%;
    position: relative;
    top: -5px;
    color: #000;
    font-weight: 700;
}

sub {
    font-size: 60%;
    position: relative;
    bottom: -5px;
}

small {
    font-size: 60%;
    letter-spacing: 0;
    line-height: 100%;
}

blockquote {
    position: relative;
    line-height: 140%;
    text-align: justify;
    margin: 10px 0 20px;
}

blockquote p {
    font-family: arimaLight, Arial, sans-serif;
}

blockquote span {
    font-size: 280%;
    color: #B7805F;
    vertical-align: middle;
}

blockquote .openquote {
    position: absolute;
    top: 5px;
    left: -30px;
}

blockquote .closequote {
    position: absolute;
    bottom: 40px;
    right: -30px;
}

cite {
    font-family: arima, Arial, sans-serif;
    color: #B7805F;
    text-align: right;
    display: block; 
}

img {
    max-width: 100%;
    max-height: 100%;
}

/* Layout styling */
header {
    background-size: 100% 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

#homepageHeader {
    background-color: rgba(213, 230, 237, 1);
    background-image: url('../media/design/opening.jpg');
}

#generalHeader {
    background-color: rgba(97, 157, 191, 1);
    background-image: url('../media/design/general-bg4-blur.jpg');
}

#generalHeader + .content {
    width: 92vw;
    min-height: calc(100vh - 60px);
    padding: 30px 4vw;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: none;
    overflow-x: hidden;
}

#homepageLogoArea {
    width: 60%;
    padding: 0 2.5%;
    position: absolute;
    top: 10%;
    left: 19%;
    -webkit-animation: headerIntroLogo 1.8s ease-in-out;
    -moz-animation: headerIntroLogo 1.8s ease-in-out;
    -o-animation: headerIntroLogo 1.8s ease-in-out;
    animation: headerIntroLogo 1.8s ease-in-out;
    z-index: 2;
}

@keyframes headerIntroLogo {
    0% {
        opacity: 0.4;
        top: -5%;
    }
    100% {
        opacity: 1;
        top: 10%;
    }
}

#headerLogo {
    width: 100%;
    position: relative;
}

header h1 {
    font-family: latoBold, arial, sans-serif;
    font-size: 300%;
    line-height: 160%;
    text-shadow:
    12px 20px 4px rgba(0, 0, 0, 0.5),
    -1px -1px 2px #fff,  
    1px -1px 2px #fff,
    -1px 1px 2px #fff,
    1px 1px 2px #fff;
    width: 100%;
    margin: 0;
    padding: 20px 0;
    text-align: center;
    position: absolute;
    top: 40%;
    left: 0;
    -webkit-animation: headerIntroH1 2.8s ease-in-out;
    -moz-animation: headerIntroH1 2.8s ease-in-out;
    -o-animation: headerIntroH1 2.8s ease-in-out;
    animation: headerIntroH1 2.8s ease-in-out;
}

/* TODO: Sort selection effects */
header h1::-moz-selection {
    text-shadow: none;
}

header h1::selection {
    text-shadow: none;
}

@keyframes headerIntroH1 {
    0% {
        opacity: 0.4;
        top: 100%;
    }
    100% {
        opacity: 1;
        top: 40%;
    }
}

.content, #aboutUs, footer {
    top: 100vh;
}

#generalHeader + .content, #generalHeader ~ footer {
    top: 0vh!important;
}

.content {
    width: 60%;
    padding: 30px 20%;
    position: relative;
    box-shadow: 0 0 8px #000;
    background-color: #fff;
    z-index: 2;
}

#contentOpening {
    width: 60%;
    margin: 0 20% 40px;
}

#contentOpening + blockquote {
    width: 100%;
    margin: 0 0 40px;
}

#generalHeader + .content h2, #generalHeader + .content h3 {
    text-shadow:
    12px 20px 4px rgba(0, 0, 0, 0.5),
    -1px -1px 2px #fff,  
    1px -1px 2px #fff,
    -1px 1px 2px #fff,
    1px 1px 2px #fff;
}

nav {
    width: 100%;
    padding: 40px 0;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
}

.navLinks {
    width: 48%;
    height: auto;
    margin: 0 0 30px;
    position: relative;
}

#navLinkOneImg, #navLinkTwoImg, #navLinkThreeImg, #navLinkFourImg {
    -webkit-transition-property: all;
    -moz-transition-property: all;
    -ms-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 350ms;
    -moz-transition-duration: 350ms;
    -ms-transition-duration: 350ms;
    -o-transition-duration: 350ms;
    transition-duration: 350ms;
    -webkit-transition-timing-function: linear;
    -moz-transition-timing-function: linear;
    -ms-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

.navLinks img {
    width: 100%;
}

.navLinks .navDesc {
    width: 90%;
    height: calc(100% - 43px);
    padding: 20px 5%;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    -webkit-transition-property: all;
    -moz-transition-property: all;
    -ms-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -ms-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    -ms-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
    -webkit-transition-timing-function: linear;
    -moz-transition-timing-function: linear;
    -ms-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: nowrap;
	-moz-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
}

.navDesc h2 {
    width: 80%;
    font-size: 1.2vw;
    text-align: left;
    position: absolute;
    top: 8%;
    left: 6%;
    line-height: 150%;
	color: #FFF;
    -webkit-transition-property: all;
    -moz-transition-property: all;
    -ms-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -ms-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    -ms-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
    -webkit-transition-timing-function: linear;
    -moz-transition-timing-function: linear;
    -ms-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
    text-shadow:
    -1px -1px 2px #000,  
    1px -1px 2px #000,
    -1px 1px 2px #000,
    1px 1px 2px #000;
}

.navDesc h2.big {
    position: relative;
    align-self: center;
    text-align: center;
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

.navLinks:hover .navDesc {
    opacity: 1;
    cursor: pointer;
    background: rgba(45, 108, 162, 0.6);
}

.navLinks:hover .navDesc h2.small {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -ms-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}

.navLinks:hover .navDesc h2.big {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    width: 100%;
    font-size: 2.6vw;
    top: 0%;
    left: 0%;
    line-height: 120%;
}

#aboutUs {
    width: 100%;
    position: relative;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: nowrap;
	-moz-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
    background: -webkit-linear-gradient(bottom, #E9AD84, #B7805F); /* For Chrome and Safari */
    background: -moz-linear-gradient(bottom, #E9AD84, #B7805F); /* For old Fx (3.6 to 15) */
    background: -ms-linear-gradient(bottom, #E9AD84, #B7805F); /* For pre-releases of IE 10*/
    background: -o-linear-gradient(bottom, #E9AD84, #B7805F); /* For old Opera (11.1 to 12.0) */
    background: linear-gradient(to bottom, #E9AD84, #B7805F); /* Standard syntax; must be last */
	background-image: url('/media/design/fence-panel.jpg');
    text-align: justify;
    z-index: 2;
}

#aboutUs img {
    width: 50%;
    height: 100%;
    max-height: 100%;
}

#aboutUs div {
    width: calc(50% - 20vw);
    color: #fff;
    padding: 5vh 10vw;
}

#aboutUs h3 {
    font-family: latoBold, Arial, sans-serif;
    font-size: 180%;
    margin: 0 0 20px;
    letter-spacing: -1px;
	color: #fff;
}

#aboutUs h4 {
    font-size: 1.27vw;
    line-height: 140%;
    margin: 0 0 20px;
    letter-spacing: -1px;
}

#aboutUs p {
    letter-spacing: -1px;
}

.rowFlex {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
}

.rowFlex.around {
	-webkit-justify-content: space-around;
	-moz-justify-content: space-around;
	-ms-justify-content: space-around;
	justify-content: space-around;
}

#sidebar {
    height: calc(100vh - 60px);
    left: 4vw;
    position: fixed;
    bottom: 30px;
    width: 14vw;
    z-index: 2;
}

#sidebar.sideBottom {
    top: auto;
    bottom: 30px;
}

#sidebar blockquote {
    font-size: 120%;
    padding: 0 5%;
}

#sidebar blockquote p {
    line-height: 110%;
}

#sidebar blockquote, #sidebar p {
    margin: 0;
    text-align: left;
}

#sidebar cite {
    font-size: 105%;
    margin: 0 0 20px;
    padding: 0 5%;
}

#sidebar + .rowFlex {
    width: 79%;
    padding: 4vh 4vw 0 22vw;
    align-self: flex-start;
    position: relative;
}

#sidebar .sideText {
    height: 80vh;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex-wrap: nowrap;
	-moz-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: space-around;
	-moz-justify-content: space-around;
	-ms-justify-content: space-around;
	justify-content: space-around;
}

#sidebar img {
    -webkit-transform: scale(1.3) translate(1.4vw, 0);
    -webkit-transform: scale(1.3) translate(1.4vw, 0);
    -moz-transform: scale(1.3) translate(1.4vw, 0);
    -ms-transform: scale(1.3) translate(1.4vw, 0);
    -o-transform: scale(1.3) translate(1.4vw, 0);
    margin-bottom: 2vh;
    position: relative;
    left: 0;
}

#sidebar #home-icon {
    height: 52px;
    width: 52px;
	align-self: center;
    text-decoration: none;
}

#sidebar #home-icon div {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-image: url("../media/design/home.png");
    background-size: 110% 110%;
    background-position: center;
    box-shadow: 2px 2px 4px #000;
    align-self: center;
}

#sidebar #home-icon div:hover {
    box-shadow: 1px 1px 2px #000;
    -webkit-transform: translate(0, -1px);
    -webkit-transform: translate(0, -1px);
    -moz-transform: translate(0, -1px);
    -ms-transform: translate(0, -1px);
    -o-transform: translate(0, -1px);
    transform: translate(0, -1px);
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

#sidebar h2 {
    color: #B7805F;
    font-size: 380%;
    margin-bottom: 6vh;
    text-align: center;
}

body#who-is-dr-bandey #sidebar h2,
body#what-is-said-about-dr-bandey #sidebar h2,
body#what-can-dr-bandey-do-for-you #sidebar h2,
body#what-does-dr-bandey-do #sidebar h2,
body#contact-dr-bandey #sidebar h2 {
    font-size: 280%;
    line-height: 120%;
    margin-bottom: 4vh;
}

#sidebar div p {
    line-height: 14px;
    width: 100%;
    text-align: justify;
}

#sidebar > p {
    text-align: center;
}

#sidebar > p a {
    color: #B7805F;
    font-weight: 700;
    text-decoration: none;
}

.cols {
    width: 44%;
    margin-bottom: 30px;
}

.cols.twoThird {
    width: 56%;
    margin-bottom: 30px;
}

.cols.third {
    width: 32%;
}

.cols h3 {
    height: 20vh;
    text-align: center;
}

.cols p, .cols + p {
    text-align: justify;
    font-size: 120%;
    line-height: 120%;
    margin: 0 auto 1em;
}

.cols + p {
    font-size: 90%;
    width: 30.5vw;
    position: absolute;
    right: 8vh;
    bottom: -15vh;
    text-align: justify;
}

#who-is-dr-bandey .cols,
#what-is-said-about-dr-bandey .cols,
#what-can-dr-bandey-do-for-you .cols,
#what-does-dr-bandey-do .cols {
    width: 44%;
    position: relative;
    top: 0vh;
}

#who-is-dr-bandey .cols div,
#what-is-said-about-dr-bandey .cols div,
#what-can-dr-bandey-do-for-you .cols div,
#what-does-dr-bandey-do .cols div {
    padding-top: 15px;
}

#who-is-dr-bandey .cols p,
#what-is-said-about-dr-bandey .cols p,
#what-can-dr-bandey-do-for-you .cols p,
#what-does-dr-bandey-do .cols p {
    font-size: 95%;
}

#who-is-dr-bandey .cols ol,
#what-is-said-about-dr-bandey .cols ul,
#what-can-dr-bandey-do-for-you .cols ul,
#what-does-dr-bandey-do .cols ul {
    font-size: 85%;
}

#what-is-said-about-dr-bandey .cols cite,
#what-can-dr-bandey-do-for-you .cols cite,
#what-does-dr-bandey-do .cols cite {
	margin-bottom: 40px;
}

#what-does-dr-bandey-do .cols h4 {
	font-weight: strong;
	margin-bottom: 1em;
}

#contact-dr-bandey .sideText p {
}

#contact-dr-bandey i {
	font-size: 24px;
	padding: 0 10px 20px 0;
	float: left;
}

#contact-dr-bandey .input {
	width: 47%;
	margin: 20px 0;
	position: relative;
	display: inline-block;
}

#contact-dr-bandey .input:nth-child(odd) {
	margin-right: 5%;
}

#contact-dr-bandey .input label {
	position: absolute;
	top: 8px;
	left: 8px;
	color: rgba(0, 0, 0, 0.44);
	padding: 1px 2px;
	margin: 0;
	border-radius: 6px;
	-webkit-transition: all 200ms linear;
	transition: all 200ms linear;
	cursor: text;
}

#contact-dr-bandey .input input {
	-webkit-appearance: none;
	font-size: 100%;
	color: #000;
	width: 100%;
	padding: 10px 8px;
	border: 0;
	border-radius: 3px;
	-webkit-box-shadow: 1px 1px 4px #333;
	-moz-box-shadow: 1px 1px 4px #333;
	box-shadow: 1px 1px 4px #333;
}

#contact-dr-bandey .input.touched input:focus + label {
	font-size: 10px;
	top: -8px;
	color: #0083b0;
	background-color: #fff;
}

#contact-dr-bandey .input.dirty label {
	font-size: 10px;
	top: -8px;
	color: #B7805F;
	background-color: #fff;
}

#contact-dr-bandey textarea {
	-webkit-appearance: none;
	font-size: 100%;
	color: #000;
	width: 99.5%;
	min-width: 99.5%;
	max-width: 99.5%;
	min-height: 100px;
	max-height: 200px;
	padding: 10px 8px;
	margin-top: 20px;
	border: 0;
	border-radius: 3px;
	-webkit-box-shadow: 1px 1px 4px #333;
	-moz-box-shadow: 1px 1px 4px #333;
	box-shadow: 1px 1px 4px #333;
}

#contact-dr-bandey button {
	width: 20%;
	margin: 40px 40%;
	padding: 10px 0;
	border: 0;
	border-radius: 3px;
	background-color: #B7805F;
	color: #000;
	box-shadow: 1px 1px 4px #333;
	cursor: pointer;
}

#contact-dr-bandey button:hover {
	opacity: 0.8;
}

#contact-dr-bandey button:active {
	box-shadow: 1px 1px 6px #000;
}

footer {
    width: 80vw;
    padding: 30px 10vw;
    position: relative;
    background-color: #363636;
    color: #fff;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: nowrap;
	-moz-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
    z-index: 2;
}

footer ul {
    width: 47.5%;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    font-weight: 700;
}

footer div {
    width: 47.5%;
    text-align: right;
}

footer div p {
    margin: 0 0 10px;
}

@media only screen
and (min-width: 1801px) {
    body {
        font-size: 20px;
    }
    
    small {
        font-size: 70%;
    }

    .content {
        width: 50%;
        padding: 30px 25%;
    }
    
    #sidebar + .rowFlex {
        padding-top: 10vh;
    }
    
    #sidebar cite small {
        font-size: 65%;
    }
    
    #who-is-dr-bandey .cols {
        top: -6vh;
    }
    
    .cols + p {
        width: 26vw;
        right: 15vh;
    }

    footer {
        width: 80%;
        padding: 30px 10%;
    }
}

@media only screen
and (max-width: 1600px)
and (min-width: 1400px) {
    .content {
        width: 50%;
        padding: 30px 25%;
    }

    footer {
        width: 80%;
        padding: 30px 10%;
    }
}