/*ROSHANIAN PAYMAN PC
Adele Payman, 2016*/

html, body{
    padding: 0;
    margin: 0;
    font-size: 9px;
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    background-image: url(photos/hero-photo-2.jpg);
}

p, li{
    margin: 0;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    font-size: 18px;
}

h1 {
    margin: 0;
}

/* YT */
#video{
    position: fixed;
    background: transparent;
    z-index: -100;
}

.ytplayer-container{
    position: absolute;
    top: 0;
    z-index: -1;
}
 

/*NAVBAR STYLING*/

#navbar{
    width: 300px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    z-index: 10;
    box-shadow: 5px 0 5px -5px #333;
}

.logo-wrapper{
    padding-left: 15%;
    padding-right: 15%;
    padding-top: 10%;
    padding-bottom: 5%;
    background-color: white;
}

#logo{
    max-width: 100%;
}


#tri-logo{
    width: 0; 
    height: 0;
    border-bottom: 2.5vh solid transparent;
    border-left: 300px solid #ffffff;
}

.nav-links{
    display: block;
    margin: 0 !important;
    text-align: right;
    list-style: none;
    font-size: 1.8rem;
    transform: translate(0, 50%);
    -webkit-transform: translate(0, 50%);
    -moz-transform: translate(0, 50%);
    -o-transform: translate(0, 50%);
    -ms-transform: translate(0, 50%);
    padding-left: 0;
}

.nav-link{
    box-shadow: inset 0 0 0 0 #343488;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    transition: all ease 0.3s;
}

.nav-link a{
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 10%;
    text-decoration: none;
    color: #343488;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.nav-link:hover{
    box-shadow: inset -300px 0 0 0 #343488;
}

.nav-link:hover a{
    color: #fff;
}

.current{
    background-color: #343488;
}
.current a{
    color: white;
}

.nav-footer{
    font-size: 1.2rem;
    padding-left: 10%;
    position: absolute;
    bottom: 0;
}


#hamburger {
    display: none;
    height: 55px;
    width: 55px;
    position: fixed;
    right: 10px;
    top: 5px;
    margin: 8px 10px 0 0;
    padding: 0;
    border-radius: 2px;
    padding-top: 1px;
    box-sizing: border-box;
}

#hamburger ul {
    padding: 0;
    margin: 0;
    text-align: center;
}

#hamburger li {
    text-align: center;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #343488;
    height: 4px;
    border-radius: 2px;
    width: 40px;
    display: block;
    float: left;
    margin-top: 10px;
    margin-left: 7px;
}

/*CONTENT STYLING*/

#splash{
    width: auto;
    height: auto;
    text-align: center;
    margin-top: 300px;
}

#splash h1 {
    margin: 0 auto;
    text-align: center;
    width: 600px;
    font-size: 40px;
    color: black;
    background-color: white;
    border-right: 6px solid white;
    padding: 20px;
    line-height: 40px;
    

}

.triangle-up{
    overflow: hidden;
    text-align: center;
}

.triangle-up #tri1{
    position: absolute;
    width: 0; 
    height: 0;
    border-right: 100vw solid transparent;
    border-bottom: 30vh solid rgba(52, 52, 136, 0.7);
    left: 300px;
    right: 0;
    top: 40vh; /* +-y to change height */
    z-index: 1;
}

.triangle-up #tri2{
    position: absolute;
    width: 0; 
    height: 0;
    border-left: 100vw solid transparent;
    border-bottom: 20vh solid #ffffff;
    top: 40vh; /* +-y to change height */
    left: 300px;
    right: 0;
    z-index: 2;
}

#shape-outside{
    width: 100%;
    height: 40vh; /* -y to change height */
    float: left;
    shape-outside: polygon(nonzero, 300px 0px) margin-box;
    
}


#firm{
    height: 60vh; /* -y to change height */
    width: 100%;
    z-index: 2;
}

.content{
    height: 800px;
    background-color: white;
    margin-left: 300px;
    position: relative;
    box-sizing: border-box;
}

#firm-content{
    height: auto;
    z-index: 2;
    padding-left: 20%;
    padding-right: 20%;
}

#firm-content h1{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 3em;
    color: #383838;
}

#firm-content p{
    text-align: left;
    position: relative;
    margin-top: 30px;
    z-index: 2;
    font-size: 18px;
    color: #;
    text-indent: 30pt;
}

#firm-content h2 {
    font-size: 18px;
    font-weight: 800;
    color: #454545;
    padding: 0 20%;
}

.tab{
    margin-left: 40px;
}


.blue{
    background-color: rgba(52, 52, 136, .95);
}

#firm-bottom{
    background-color: rgba(255, 255, 255, 0);
    width: 0;
    height: 0;
    border-top: 150px solid white;
    border-right: 100vw solid transparent;
    z-index: 2;
}

#expertise{
    margin-top:-300px; 
    height: auto;
    padding-bottom: 50px;
    z-index: 1;
}

#connect{
    height: 670px;
    background-color: #343488;
    padding: 0 10% 0 10%;
    padding-top: 20px;
}

#contact-title {
    color: white;
    font-size: 3em;
    margin-left: 80%;
    padding-left: 10px;
    padding-bottom: 3px;
}

.services {
    padding: 0 15% 0 15%;
}

.contact-wrapper {
    float: left;
    width: 100%;
}

#form {
    display: inline-block;
    float: left;

}

#contact-details {
    width: 300px;
    display: inline-block;
    float: left;
    margin-left: 100px;
    margin-top: 30px;
}
#details p{
    font-size: 16px !important;
    color: white;
    margin-bottom: 10px;
}
#map {
    width: 300px;
    height: 200px;
    border-radius: 3px;
    margin-top: 30px;
}
/*Contact Form*/

.freecontactform {
    width: 420px;
    border: none;
    padding:10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    color: white;
}
.freecontactformheader {
    font-size:20px;
    font-weight:bold;
    padding-top:10px;
    padding-bottom:20px;
    text-align:center;
}
.freecontactformmessage {
    text-align:center;
    padding-bottom:10px;
}
.freecontactform td {
    padding:4px;
    font-size:12px;
}
.freecontactform p {
    padding:4px;
}
.freecontactform label {
    padding:4px;
}
.freecontactform label {
    padding-right:10px
}
.form-input {
    width: 230px;
    border-radius: 2px;
    border: none;
    height: 20px;
    padding: 4px;
    margin-top: -7px;
    margin-bottom: 7px;
}
.required {
    font-weight:bold;
}
.required_star {
    font-weight:bold;
    color:#F00;
}
.not-required {
    font-weight:normal
}
.antispammessage {
    padding:10px;
    border-top:1px solid #AAA;
    border-bottom:1px solid #AAA;
    font-weight:bold 
}
.antispamquestion {
    font-weight:normal;
}

/*FOOTER STYLING*/

#footer{
    height: 70px;
    width: 85%;
    margin-left: 300px;
    background-color: #131331;
}

#footer p{
    margin: 0;
    margin-right: 100px;
    text-align: right;
    line-height: 70px;
    font-size: 1.2rem;
    color: white;
}



#services-title {
    padding-top: 275px;
    color: white;
    font-size: 3em;
    margin-left: 80%;
    padding-left: 10px;
    padding-bottom: 3px;
}

.bar {
    width: 100%;
    background-color: white;
    height: 3px;
    
}

.column {
    display: inline-grid;
    width: 49%;
    margin-left: 0px;
    text-align: left;
}

#expertise .column p {
    color: white;
    margin-top: 10px;
}

#expertise .column li {
    color: white;
    font-size: 16px;
    margin-left: 30px;
    margin-top: 7px;
}

#expertise .column ul {
    margin-top: 20px;
}

#expertise .column ul b {
    border-bottom: 1px solid white;
    padding-bottom: 1px;
    margin-bottom: 30px;
}

#attorneys{
    padding: 30px 15%;
    padding-bottom: 50px;
    height: auto;
}

#attorneys-wrapper {
   text-align: center; 
}

#attorneys h2 {
    font-size: 18px;
}

.profile-pic {
    border-radius: 50%;
    margin-top: 35px
}

#attorneys-wrapper .heading {
    font-size: 25px; 
    margin-top: 20px;
    margin-bottom: 20px;
}

#attorneys-wrapper .bio {
    text-align: justify;
}

#attorneys-title {
    color: black;
    font-size: 3em;
    margin-left: 75%;
    padding-left: 10px;
    padding-bottom: 3px;
}

#consultants-title {
    color: black;
    font-size: 3em;
    text-align: right;
    padding-right: 20px;
    padding-bottom: 3px;
}


@media screen and (max-width: 1400px) {
    #navbar{
        width: 100%;
        height: auto;
        background-color: white;
    }

    .logo-wrapper{
        width: 300px;
        padding: 0;
        margin: 0;
        height: auto;
        text-align: left;
        float: left;
    }

    #logo{
        margin-left: 30%;
        height: 70px;
        padding: 5px 0;
    }

    #tri-logo{
        display: none;
    }

    .nav-links{
        display: block;
        text-align: left;
        width: auto;
        height: 100%;
        float: left;
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
    }

    .nav-link{
        width: auto;
        float: left;
        height: 100%;
        padding: 0;
    }

    .nav-link a{
        text-align: left;
        text-decoration: none;
        color: #343488;
        padding: 0 20px;
        box-sizing: border-box;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .nav-link:hover{
        box-shadow: none;
        background-color: #343488
    }
    
    .current{
        background-color: #343488;
    }
    .current a{
        color: white;
    }
    
    .nav-footer{
        display: none;
    }
    
    .content {
        width: 100%;
        margin-left: 0;
    }
    
    .triangle-up #tri1{
        border-right: 100vw solid transparent;
        left: 0;
    }

    .triangle-up #tri2{
        border-left: 100vw solid transparent;
        left: 0;
    }
    
    #footer{
        margin-left: 0;
    }
    
    #shape-outside{
        shape-outside: polygon(nonzero, 0 0px, 100% 0, 100% 550px, 0 700px) margin-box;
    }

}

@media screen and (max-width: 1400px) {
    
    .nav-links {
        display: block;
    }

    .nav-link a{
        padding: 0 10px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    #logo{
        margin-left: 15%;
    }
    
    .logo-wrapper {
        width:230px;
    }
    
    .column {
        display: inline-grid;
        width: 100%;
        margin-left: 30px;
        text-align: left;
        margin: 0;
    }
    
    footer{
        width: 100% !important;
    }
    footer p {
        margin-right: 0px !important;
        width: 100%;
        text-align: center !important;
    }
}

@media screen and (max-width: 1050px) {
    #navbar{
        width: 100%;
        height: auto;
        background-color: rgba(255, 255, 255, 0.8);
    }

    .logo-wrapper{
        width: 100%;
        padding: 0;
        margin: 0;
        height: auto;
        text-align: center;
        float: none;
        background-color: white;
    }

    #logo{
        margin-left: 0;
        height: 70px;
        padding: 5px 0;
    }

    #tri-logo{
        display: none;
    }

    .nav-links{
        display: none;
        text-align: left;
        width: 100%;
        height: auto;
        float: left;
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
    }

    .nav-link{
        width: auto;
        float: left;
        height: 100%;
        width: 100%;
        padding: 0;
    }

    .nav-link a{
        text-align: left;
        text-decoration: none;
        color: #343488;
        padding: 0 20px;
        box-sizing: border-box;
        height: 100%;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .nav-link:hover{
        box-shadow: none;
        background-color: #343488
    }

    .current{
        background-color: #343488;
    }
    .current a{
        color: white;
    }
    
    #hamburger{
        display: block;
        
    }
    
    #hamburger:hover {
        background-color: #343488;
    }
    
    #hamburger:hover li{
        background-color: white;
    }
    
    #firm-content h1{
        text-align: center;
        padding-left: 15%;
        padding-right: 15%;
        padding-top: 30px;
        padding-bottom: 10px;
        font-size: 3em;
        color: #383838;
    }
    
    /* Mobile Stuff*/
    
    #firm-bottom{
        display: none;
    }   
    #firm-content{
        padding-left: 5%;
    }
    #expertise {
        margin-top: 0px;
    }
    .services{
        padding-bottom: 50px;
        padding-left: 0;
        padding-right: 0;
    }
    .content {
        padding: 0 10% !important;
    }
    #contact-title, #attorneys-title, #services-title, #consultants-title{
        margin-left: 0;
        width: 100%;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 10px;
    }
    #attorneys {
        padding-bottom: 100px !important;
    }
    #contact-details{ 
        padding-top: 20px;
        margin-top: 20px;
        margin-left: 0;
        width: 100%;
        text-align: center;
        border-top: 1px solid white;
    }
    .contact-wrapper {
        display: block;
    }
    #form, .freecontactform {
        width: 100%;

    }
    .form-input {
        width: 100%;
    }
    .form-label{
        width: 120px;
    }
    .freecontactformheader {
        padding-bottom: 10px;
        width: 100% !important;
        margin: 0;
    }
    
    #map {
        width: 100%;
    }
    #connect{
        height: 1200px;
    }
    
}