

@import url(Normalize.css);


/* Site Wide */
/*---------------------------------------------------------------------------*/
html{
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

body{
    overflow-x: hidden;
    position: relative;
    background-color: #ededed;
    z-index: -1;
}

footer{
    clear: both;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: .9em;
    color: rgba(0,0,0,.5);
    padding: 30px;

}

h1, h2, h3, h4, h5{
    font-family: 'Mallanna', sans-serif;
    font-weight: 700;
}

h1, h2{   
    text-align: center;
    color: #173982;
}

h2{
    font-size: 1.6em; 
}

h3{
    font-size: 1.4em;
    color: #800020;
}

h4{
    font-size: 1.3em;
}

h5{
    font-size: 1.1em;
}

h4 + p{
    margin-top: 4px;
}

ul{
    margin-top: 4px;
}

li{
    margin-bottom: 1em;
    list-style-type: square; 
}

#logoBar{
    width: 80%;
    
    background-color: #456e88;
    margin: 60px auto 0 auto;
    display: flex;
    align-items: center;
    border-bottom: 9px solid #ededed;
}
#logoBar img {
    
    margin: 5px auto; 
}

#logo2{
    display: none;
}

.contentWrap{
    background: white;
    width: 80%;
    margin: 0 auto 10px auto;
    padding: 1px 30px;
}

.content{ 
    text-align: justify;
    font-family: 'Open Sans', sans-serif;
    font-size: .9em;
    line-height: 20px;
    border-top: 1px solid rgba(0,0,0,.4);
    margin-top: 20px;
}

.basicTable{
    margin-bottom: 1em;
}

#basicTable td{
    padding-right: 10px;
}

.content img {
    display: block;
    border-radius: 3%;
    border: 4px solid rgba(128,0,32,.8);
}

.imgResize{
    width: 100%;
    height: auto;
}

/* Site Navigation Bar */
/*---------------------------------------------------------------------------*/
#navBar{
    background: #2B3A42;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    color: white;
    display: flex;
    justify-content: center;
}

#navBar ul{
    list-style-type: none;
    margin-top: 10px;
}

#navBar ul li{
    display: inline-block;
    position: relative;
}

.navBtn{
    position: relative;
    display: inline-block;
    font-family: 'Mallanna', sans-serif;
    font-size: 1.1em;
    color: white;
    text-decoration: none;
    margin-right: 30px;
    border-bottom: 3px solid rgba(34,124,214,0);
    transition:border-bottom  1s, color 1s;
    -webkit-transition:border-bottom  1s, color 1s;
    -moz-transition:border-bottom  1s, color 1s;
    -o-transition:border-bottom  1s, color 1s;
    top: -3px;
    cursor: pointer;
}

.navBtn:hover{
    border-bottom: 3px solid rgba(34,124,214,1);
    color: rgba(34,124,214,1);    
}

#home {
    display: inline-block;
    font-family: 'Inknut Antiqua', serif;
    font-weight: 400;
    letter-spacing: -3px;
    font-size: 1.8em;
    color: #527184;
    text-decoration: none;
    margin-right: 70px;
    background: transparent;
    transition: color 1s;
    -webkit-transition: color 1s;
    -moz-transition: color 1s;
    -o-transition: color 1s;   
}

#logoFirst{
    display: inline-block;
    margin-right: 2px; 
}

#logoSecond{
    display: inline-block;
}

#logoFirst:first-letter{
    font-weight:700;
}

#logoSecond:first-letter{
    font-weight:700;
}

#home:hover{
    color: skyblue;
}

#menuButton{
    display: none;
    position: fixed;
    background: none;
    border: none;
    top: 18px;
    right: 10px;
    cursor: pointer;
    outline: none;
}

#slideMenu{
    color: white;
    font-size: 0.9em;
    display: none;
    position: fixed;
    background: #2B3A42;
    width: 250px;
    height: 100vh;
    right: -250px;
    overflow: auto;
    z-index: -1
}

@keyframes menuMoveFoward {
    from {
        right: -250px;
    }
    to {
        right: 0px;
    }
}

@keyframes menuMoveBack {
    from {
        right: 0px;
    }
    to {
        right: -250px;
    }
}

@keyframes contentMoveFoward {
    from {
        left: 0px;
    }
    to {
        left: -250px;
    }
}

@keyframes contentMoveBack {
    from {
        left: -250px;
    }
    to {
        left: 0px;
    }
}

.menuAppear {
    animation: menuMoveFoward 1s;
    animation-fill-mode: forwards;
}

.menuDisappear {
    animation: menuMoveBack 1s;
}

.contentShift {
    position: relative;
    z-index: -1;
    animation: contentMoveFoward 1s;
    animation-fill-mode: forwards;
}

.contentReturn {
    position: relative;
    z-index: -1;
    animation: contentMoveBack 1s;
    animation-fill-mode: forwards;
}

#slideMenu ul{
    font-family: 'Open Sans', sans-serif;
    
}

#slideMenu ul li {
    margin-bottom: 40px;
    list-style-type: none; 
}

#slideMenu a {
  text-decoration: none;
    color: white;
}

.arrow{

    position: absolute;
    padding-top: 2px;  
}

#navBar .dropDown{
    position: absolute;
    display: none;
    background: #2B3A42;
    padding: 10px 10px 0px;
    width: 250px;
    margin-top: 19px;
    font-size: 0.8em;
    border-radius: 3%;
}

.dropDown li{
    padding-bottom: 2px;
    border:0;
}
.dropDownShown{
    display: block!important;
}

#dropDownASlide, #dropDownBSlide {
    padding: 6px 0px 0px 10px;
    font-size: 0.9em;
}

#slideMenu #dropDownASlide li{
   
    margin-bottom: 10px;
}


#slideMenu #dropDownBSlide li{
    
    margin-bottom: 10px;
}




/* Website Home */
/*---------------------------------------------------------------------------*/

#homeContent{
    padding-top: 0px;
    width: 60%;
    float: left;
    padding:0 30px 20px 30px;
    border-right: 10px solid #ededed;
    background-color: white;
}

#homeContent h1{
    line-height: 24px;
    font-size: 1.8em;
}

#homeContent .content{
    border-bottom: 1px solid rgba(0,0,0,.4);
    width: 100%;
}

#angusImg{
    max-width: 340px;
    margin: 0 auto;
}

#angusImg img{
    display: block;
    padding-right: 30px;
    width: 100%;
    height: auto;
}

#homeOuterWrap{
    padding: 0px;
    min-height: 500px;
    background-color: #ededed;
}

#badgeAndForm{
    font-family: 'Open Sans', sans-serif;
    font-size: .9em;
    
    float: left;
    width: 40%;
    padding: 30px;
    background-color: white;
}

#contentWrapForm{
    margin-top: 10px;
}

#introList li{
    color: #800020;
}

.clear {
    clear: both;
}

/* Referrals & appointments */
/*----------------------------------------------------------------------------*/

#gpInfo{
    border-bottom: 1px solid rgba(0,0,0,.4);
}

.contactTable{
    display: block;
    max-width: 600px;
    text-align: center;
    color: white;
    border-collapse: collapse;
    font-family: 'Open Sans', sans-serif;
    font-size: .9em;
    margin: 30px auto 0 auto;
    /*text-decoration: none; */
    overflow-x: auto;

}

.contactTable:last-of-type{
    margin-bottom: 20px;
}

.contactTable caption{
    background-color: #456e88;
    font-size: 1.2em;
    padding: 5px;
    font-family: 'Mallanna', sans-serif;
}

.contactTable th, .contactTable tr, .contactTable td{
    padding: 6px 10px;
    border: 1px solid white;

}

.contactTable th {
    font-size: 1.2em;
    background-color: #456e88;
    font-family: 'Mallanna', sans-serif;
}


.contactTable a{
    color: white;
}

.tableSection1{
    background-color: #2B3A42;
    border-bottom: 10px;
}

.tableSection2{
    background-color: #2B3A42;
}

.contactField{
    font-weight: 700;
}

.locTitle{
    margin-bottom: 1em;
    display: block;
}


/* Training */
/*----------------------------------------------------------------------------*/


#topSectionMargin{
    margin-top: 0;
}

.ImgContainerTrain{
    display: block;
    max-width: 331px;
}


/* Teaching & Research */
/*-------------------------------------------------------------------------*/

dt{
    display: list-item;
    list-style-type:decimal;
    margin-left: 30px;
}

dd{
    margin: 0 0 1.5em 30px;
    font-style: italic;
}

.journalName{
    display: block;
    font-style: normal;
}


/* Fees & Terms */
/*---------------------------------------------------------------------------*/

.feeTable{
    margin-bottom: 1em;
    border-collapse: collapse;
    color: white;
    text-align: left;
}

.feeTable td{
    padding-left: 10px;
    padding-right: 10px;
}

.feeTable tr:nth-child(odd){
    background: #2B3A42;
}

.feeTable tr:nth-child(even){
    background: #456e88;
}

.feeTable, .feeTable td{
    border: 1px solid white; 
}



/* Contact Form */
/*--------------------------------------------------------------------*/


.contactFrm {
    background-color: #456e88;
    color: white;
    max-width: 400px;
    padding: 10px;
    border-radius: 10px; 
    margin: 0 auto;
}

.contactFrm form{
    max-width: 500px;  
}

.contactFrm input[type="text"], .contactFrm input[type="email"]{
    width: 100%;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: .9em;
    height: 30px;
}

.container{
    margin: 5px auto;   
}

.contactFrm textarea {
    width: 100%;
    border-radius: 5px;
    height: 100px;
    font-family: 'Open Sans', sans-serif;
}

legend{
    font-family: 'Mallanna', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.contactFrm label {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: .9em;
}

input[type=submit]{
    width: 60px;
    font-family: 'Open Sans', sans-serif;
    font-size: .9em;
    background-color: #800020;
    color: white;
    cursor: pointer;
    border: 1px solid #2B3A42;
    border-radius: 5px;
    height: 30px;
    text-align: center;
    margin: 5px;
}

input[type=submit]:hover{
    background-color: #5e0219;
}

#submitBtn{
    text-align: center;
}
p.statusMsg{
    font-size: .9em;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
}
p.succdiv{color: white;}
p.errordiv{color:#E80000;}

#reviewBtn{
    width: 110px;
    margin-top: 20px;
    margin-left: calc(50% - 55px);
    font-family: 'Open Sans', sans-serif;
    font-size: .9em;
    background-color: #800020;
    color: white;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #2B3A42;
    border-radius: 5px;
    height: 30px;
    text-align: center;
    margin-bottom: 20px;
}

#reviewBtn:hover{
    background-color: #5e0219;
}

#sussexSleepBtn{
    font-family: 'Open Sans', sans-serif;
    font-size: .9em;
    background-color: #800020;
    color: white;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #2B3A42;
    border-radius: 5px;
    height: 30px;
    text-align: center;
}

#sussexSleepBtn:hover{
    background-color: #5e0219;
}
/* Top Doctor Badge */
/*-----------------------------------------------------------------------------*/

.fatd-badge-outer { 
    margin: 100px auto 0 auto;
    width: 100%;
    
}

.fatd-badge-outer img { 
    width: 200px;
}

.fatd-badge-inner{
    margin: 0 auto;
    width: 200px;
}

/*Consultation*/
/*-------------------------------------------------------------
------------*/
.imgContainerConsul{
    display: block;
    max-width: 331px;
}

#EEG {
    margin-top: 20px;
}

/*Media Queries
/*-------------------------------------------------------------------------*/


@media ( max-width: 1196px){
  
    .contentWrap, #logoBar{
      width: 90%;  
    }
    
    #slideMenu{
        display: flex;
        align-items: center;
    }
    
    #menuButton {
        display: inline-block;
    }

    .navBtn{
        display: none;
    }

    #navBar{
        justify-content: flex-start;
        padding: 0px;
    }
    #navBar ul #buttonA{
        display: none;
    }
    #navBar ul #buttonB{
        display: none;
    }


}


@media ( max-width: 950px ){
    
    .contentWrap, #logoBar{
        width: 100%;
    }
    
    #homeContent{
        float: none;
        border: none;
        width: 100%;
        padding:10px;
    }
    
    #badgeAndForm {
        float: none;
        width: 100%;
        height: auto;
        padding: 0 10px;
        border-top: 10px solid #ededed;
    }
    
    
    
    #contactFrmContainer{
        float: left;
        width: 50%;
        padding: 20px 0;
    }
    
    .fatd-badge-outer{
        float: left;
        max-width: 50%;
    }
    
    
    #logo1{
        display: none;
    }
    
    #logo2{
        display: inline-block;
    }
}

@media ( max-width: 680px ){
    
    .content img{
        margin: 0 auto;
    }
    
    #contactFrmContainer{
        float: none;
        width: 100%;
    }
    
    .fatd-badge-outer{
        max-width: 100%;
        float: none;
        margin: 0 auto 20px auto;
    }
}


@media ( max-width: 500px ){

    #home{
        font-size: 1.4em;
    }

    #navBar{
        height: 50px;
    }

    #menuButton{
        top: 13px;  
    }

    .contentWrap{
        padding: 1px 10px;
    }

    .contactTable th, .contactTable tr, .contactTable td{
        padding: 2px;
    }

    
    #logoBar{
        margin-top: 50px;
    }
}

@media ( max-width: 380px ){

    .container{
        width: 250px;
    }

    .contactFrm input[type=text], .contactFrm input[type=email] {
        width: 250px;
    }

    .contactFrm textarea{
        width: 250px;
    }
}
