@charset "utf-8";

@font-face {
    font-family: Quicksand;
    src: url('../Quichsand-Regular.woff') format('woff'),
url('../Quicksand-Regular.ttf') format('truetype');
}

/*
    Friends Tax Group
    Author: Ehsan Nezhad Soleimani
    Date: 05/20/2020
    
    Layout and Typographical Style Sheet for Friends Tax Group all pages

    Filename: ftg_styles.css
*/

/* HTML Styles */

html {
   background-image: url(../image/back.png);
   color: rgb(51, 51, 51);
   font-size: 12px;
}

/* Page Body Styles */

body {
    background-color: rgb(211, 211, 211);
    font-family: Quicksand, Verdana, Geneva, Arial, sans-serif; 	
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
    min-width: 640px;
    width: 95%;
    border-left: 1px solid rgb(51, 51, 51);
    border-right: 1px solid rgb(51, 51, 51);
    box-shadow: rgb(51, 51, 51) 10px 0px 25px,
                rgb(51, 51, 51) -10px 0px 25px;
}

/* Body Header Styles */

body > header > h1 {
    font-size: 2em;
    padding: 20px;
    text-align: left;
    color: rgb(241, 174, 55);
    background-color: #053834;
}

body > header > img {
	display: block;
	width: 100%;
}

nav#mainLinks ul li {
	background-color: rgb(51, 52, 45);	
	display: block;
	float: left;
	text-align: center;
	width: 20%;	
}

nav#mainLinks ul li a {
	color: white;	
	display: block;
	height: 2.5em;	
	text-align: center;
	line-height: 2.5em;	
}

nav#mainLinks a:link, nav#mainLinks a:visited {
	color: white;
    font-size: 1em;
    letter-spacing: 0em;
    text-shadow: rgba(0, 0, 0, 1) 1px -1px 1px;
    transition: color 1s ease-in 0.5s,
                font-size 1s ease,
                letter-spacing 1s ease-out,
                text-shadow 1s cubic-bezier(0.6, 0, 0.8, 0.5);
}

nav#mainLinks a:hover, nav#mainLinks a:active {
	color: rgb(241, 174, 55);
    font-size: 1.3em;
    letter-spacing: 0.1em;
    text-shadow: rgba(0, 0, 0, 0.5) 15px -3px 8px;
}


/* Article  Styles */

article {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    padding: 20px 70px 10px;
    clear: left;
    float: left;
}

article#lft {
    padding: 20px 10px 10px 80px;
    clear: left;
    float: left;
    width: 70%;
}

article p#mdl, section#form {
    clear: both;
    padding: 0px 90px 50px 90px;
    text-align: center;
}

article div {
    padding: 60px 20px;
    float: left;
    width: 60%;
}

article img {
    padding: 20px;
    float: left;
    width: 40%;
}

article img#ttg {
    width: 200px;
}

section#cv {
    display: block;
    padding: 20px;
    float: left;
    width: 60%;
}

section#cnt {
    display: block;
    padding: 30px 100px;
    clear: left;
    float: left;
    width: 50%;
}

/* Figure Box Styles */

figure {
    display: block;
    clear: left;
    float: left;
    padding: 20px 0px 10px 100px;
}


figure figcaption {
    background-color: white;
    font-family: 'Palatino Linotype', Palatino, 'Times New Roman', serif;
    font-style: italic;
    padding: 3px;
    text-align: center;
    
}


/* Aside Styles */

aside {
    color: white;
    background-color: gray;
    border-radius: 20px;
	margin: 2%;
	padding: 20px;
	width: 25%;
    float: left;
}

aside h3 {
    font-size: 1.1em;
	margin: 10px 0px;
	text-align: left;
}

aside li {
	line-height: 1.5em;
    text-decoration:none;
}

img#rht {
    padding: 20px;
    float: left;
    width: 25%;
}

/* Footer Styles */

footer {
    text-align: center;
    padding: 10px 0px;
    color: white;
    background-color: rgb(62, 42, 6);
    clear: left;
    width: auto;
}

/* Audio and Video Player Styles */

video {
    box-shadow: rgb(51, 51, 51) 8px 8px 15px;
    display: block;
    margin: 10px auto;
    width: 50%;
}

/* Track Styles */

::cue {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font: 1.2em serif;
}

/* Form Layout Styles */

form#comment {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
}

form#comment > fieldset {
    background-color: rgb(241, 232, 181);
    border-radius: 10px;
    -webkit-flex: 1 1 300px;
    flex: 1 1 300px;
    font-size: 0.85em;
    padding: 50px;
    margin: 50px;
}

div.formRow {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    margin: 7px 0px;
}

div.formRow > * {
    -webkit-flex: 1 1 20px;
    flex: 1 1 20px;
}

/* Text Area Styles */

textarea {
    margin-top: 10px;
    height: 100px;
    width: 95%;
}

/* Form Button Styles */

div#buttons {
    text-align: center;
    width: 100%;
}

input[type='submit'], input[type='reset'] {
    font-size: 1.2em;
    padding: 5px;
    margin: 5px;
}

/* Validation Styles */

input:focus, select:focus, textarea:focus {
    background-color: rgb(220, 255, 220);
}


/* =========================
   Mobile Styles: 0 to 480px 
   =========================
*/

@media only screen and (max-width: 480px) {
    
    aside {
        -webkit-order: 99;
        order: 99;
    }
    
    footer {
        -webkit-order: 100;
        order: 100;
    }
    
}

/* ============================================
   Tablet and Desktop Styles: 481px and greater 
   ============================================
*/

@media only screen and (min-width: 481px) {

    nav#mainLinks ul {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-flow: row nowrap;
        flex-flow: row nowrap;
    }
    
    nav#mainLinks li {
        -webkit-flex: 1 1 auto;
        flex: 1 1 auto;
    }
}