/*
Theme Name: Trail Transport
Description: Trail Transport theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */
html,body {
    height:90%;
}

body {
	margin: 0;
	background: #444b55;
	min-width: 320px;
}

html, body, p, li, ul, dd, td {
	color: #fff;
	font-family: 'Libre Franklin', sans-serif;
	line-height: 160%;
}

strong, em, b, i {
	font-family: 'Libre Franklin', sans-serif;
}

img a, a img {
	border: 0;
}

td {
	vertical-align: top;
}

a {
	color: #92ebfb;
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #cb2302;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 140%;
}

h1, h1 a, h2, h2 a, h3, h3 a {
	line-height: 120%;
	color: #e9530d;
}

h1, h1 a {
	font-size: 1.8em;
	margin-top: 0;
}

h2, h2 a {
	font-size: 1.6em;
}

h3, h3 a {
	font-size: 1.2em;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #e9530d;
	color: #e9530d;
	margin: 5px 0 15px 0;
}

.content, .wrapper {
	width: 1200px;
	margin: 0 auto;
}

#header-wrapper, #header-lower-wrapper, #footer-wrapper {
	min-width: 1030px;
}

/* Header                                           */
/* ------------------------------------------------ */
#header {
	padding-top: 410px;
	height: 44px;
	background-size: 101%;
	position: relative;
}

#trail-transport-logo-wrapper {
    z-index: 10;
    position: relative;
}

#trail-transport-logo {
	float: right;
	margin-top: -390px;
	height: 454px;
	z-index: 10;
}

.slidercontainer, .flexsliderheader {
    height: 100%;
    width: 100%;
    z-index: 1;
}



/* Content                                          */
/* ------------------------------------------------ */
#homepageboxes {
    margin: 60px -0.5% 50px -0.5%;
    overflow: hidden;
}

.homepagebox {
    float: left;
    width: 32.333%;
    margin: 0 0.5%;
    background: #7f503c;
    overflow: hidden;
    line-height: 120%;
}

.homepagebox img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.8;
}

.homepagebox, .homepagebox h2 {
    color: #fff;
    font-size: 24px;
}

.homepagebox img:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -mz-transform: scale(1.1);
    transform: scale(1.1);
    opacity: 1;
}

.cellpadding {
    padding: 0 20px 20px 20px;
}


#intronew-content-wrapper {
    background: #864d39 url(images/intro-map.jpg);
    background-repeat: no-repeat;
    background-position: top right;
    height: 770px;
    padding: 65px 0;
}

#intronew-content {
    width: 65%;
}

#intronew-content-wrapper img {
    width: 100%;
    height: auto;
    display: none;
}

#intronew-content-wrapper .wrapper {
    padding: 30px 25px 25px 25px;
    margin-bottom: 5px;
}

#intronew-content-wrapper .wrapper h1 {
    font-size: 1.6em;
    padding-bottom: 30px;
    margin: 0 0 20px 0;
    border-bottom: 3px solid #d95d2b;
}

#intronew-content-wrapper .wrapper {
    font-size: 1.5em;
}

#intronew-content-wrapper .wrapper h1, #intronew-content-wrapper .wrapper h2, #intronew-content-wrapper .wrapper h3, #intronew-content-wrapper .wrapper p {
    color: #fff;
}

#intronew-content-wrapper .wrapper p {
    border-top: 3px solid #d95d2b;
    padding-top: 30px;
    max-width: 80%;
}

#intronew-content-wrapper .wrapper ul {
    list-style: none;
    margin: 0;
    font-weight: bold;
}

#intronew-content-wrapper .wrapper li::before {
    content: '\25A0';
    color: #d95d2b;
    font-size: 26px;
    position: relative;
    margin: -2px 15px 0 0;
    height: 30px;
    display: inline-block;
    vertical-align: top;
}



#intro-content-wrapper {
	background: #864e38;
}

#intro-content-wrapper .wrapper {
    padding: 30px 25px 25px 25px;
    margin-bottom: 5px;
}

#intro-content-wrapper .wrapper h1 {
	font-size: 1.6em;
}

#intro-content-wrapper .wrapper {
	font-size: 1.5em;
}

#intro-content-wrapper .wrapper h1, #intro-content-wrapper .wrapper h2, #intro-content-wrapper .wrapper h3, #intro-content-wrapper .wrapper p {
    color: #fff;
}

#introlower-wrapper {
    background: #59616e;
    text-align: center;
}

#introlower-wrapper .content ul {
        list-style-position: inside;
}

.content {
    clear: both;
    padding: 30px 25px;
    overflow: hidden;
}

.content img {
    max-width: 100%;
    height: auto;
}

a.readmore, input[type="submit"] {
    background: #e9530d;
    color: #fff !important;
    padding: 12px 28px;
    text-decoration: none;
    display: inline-block;
    margin: 15px 0;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: none;
    line-height: 100%;
    border: 0;
    cursor: pointer;
}

a.readmore:hover, input[type="submit"]:hover {
    background: #636c7a;
    color: #fff !important;
}

a.readmore, .homepagebox img, input[type="submit"] {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	font-size: 0.9em;
	padding: 50px 0 25px 0;
	background: #e9530d url(images/footer-bg.gif) left top repeat-x;
	text-align: center;
}

#footer a, #footer, #footer p {
	color: #f99161;
}

#footer img {
	padding: 20px;
}

#footer img:hover {
	opacity: 0.70;
	filter: alpha(opacity=70);
}

#copyright {
	font-size: 0.8em;
	background: #eee;
	padding: 12px 0;
	margin: 12px 0;
	text-align: center;
}

#copyright, #copyright a {
	color: #ccc;
}

a.scrollup {
    width: 53px;
    height: 53px;
    position: fixed;
    bottom: 50px;
    right: 20px;
    display: none;
    text-indent: -9999px;
    background: url('images/top.png') no-repeat;
    opacity: 0.7;
}



/* Menu                                             */
/* ------------------------------------------------ */
#navbar-background {
    background: #e8520d;
    height: 50px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 999;
}

#navbar {
    text-align: center;
}

a.anchor-link {
    display: none;
    float: left;
    height: 44px;
    line-height: 44px;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    padding: 0 20px;
}

ul.menu, ul.menu ul {
    padding: 0;
    list-style-type: none;
    margin: 0 auto;
    display: block;
    /*text-align: center;*/
}

ul.menu ul:after {
    content: ""; clear: both; display: block;
}

ul.menu li {
    padding: 0;
    background: none;
    display: block;
}

ul.menu > li {
    display: inline-block;
    *display: inline;
    zoom: 1;
    margin-right: -4px; /* remove the 4px gap inline elements have */
}

ul.menu li a {
    color: #fff;
    text-decoration: none;
    line-height: 50px;
    padding: 0 15px;
    font-size: 18px;
    display: block;
    font-weight: bold;
    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -ms-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
}


/* ul.menu li:first-child a {
    padding-left: 0;
} */


ul.menu li a:hover {
    text-decoration: underline;
}

ul.menu li.current-menu-item > a, ul.menu li.current-menu-parent > a, ul.menu li.current-menu-ancestor > a {
    font-weight: bold;
    color: #444b55;
}

ul.menu li.menu-item-has-children, ul.menu li.menu-item-has-children > a, ul.menu ul.sub-menu li.menu-item-has-children > a {
    position: relative;
}

ul.menu li.menu-item-has-children > a, ul.menu ul.sub-menu li.menu-item-has-children > a {
    padding-right: 24px;
}

/* give the dropdowns a plus indicator */
ul.menu li.menu-item-has-children > a:after {
    width: 30px;
    height: 50px;
    line-height: 50px;
    content: '\25BC'; /* plus: \002B      down arrow: \25BC  */
    vertical-align: middle;
    text-align: center;
    right: 0;
    position: absolute;
    font-size: 12px;
    font-family: verdana;
    font-weight: normal;
}

ul.menu li.menu-item-has-children > a.close:after {
    content: '\25B2'; /* minus: \2012      up arrow: \25B2 */
}

/* dropdowns */
ul.menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 50px;
    min-width: 240px;
    z-index: 9999;
}

ul.menu ul.sub-menu > li {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #ddd;
    text-align: left;
    float: none;
}

/* the last dropdown */
ul.menu li.menu-item-has-children:last-child ul.sub-menu li {
    min-width: 250px;
}

ul.menu li.menu-item-has-children:last-child ul.sub-menu {
    right: 0;
}

ul.menu ul.sub-menu > li a:after {
    height: 22px;
    line-height: 22px;
}

ul.menu li > ul {
    -moz-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
}

ul.menu ul.sub-menu > li a {
    background: none;
    color: #d95d2b;
    font-size: 16px;
    text-shadow: none;
    padding: 15px 20px;
    display: block;
    line-height: 25px;
    text-decoration: none;
}

ul.menu ul.sub-menu > li.current-menu-item > a {
    font-weight: bold;
    color: #000;
}

ul.menu ul.sub-menu > li.current-menu-item > a, ul.menu ul.sub-menu > li.current-menu-parent > a, ul.menu ul.sub-menu > li.current-menu-ancestor > a {
    color: #454b54;
    font-weight: bold;
}

ul.menu ul.sub-menu > li a:hover {
    background: #d95d2b;
    color: #fff;
}

ul.menu ul.sub-menu > li:last-child {
    border-bottom: 0;
}


/*sub submenus  */
ul.menu ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
}

ul.menu ul.sub-menu ul.sub-menu > li a {
    min-width: 160px;
}

@media screen and (min-width: 971px) {
    ul.menu {
        display: block !important;
    }
}

@media screen and (max-width: 970px) {
    #navbar {
        float: none;
    }

    #navbar nav > ul {
        display: none;
    }

    #navbar .wrapper {
        padding: 0;
    }

    a.anchor-link {
        display: block;
    }

    /* ul.menu li:first-child a {
        padding-left: 25px;
    } */


    ul.menu {
        display: none;
        position: absolute;
        top: 50px;
        width: 100%;
        z-index:99;
        -moz-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
        -webkit-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
    }

    ul.menu li {
        float: none;
        display: block;
        list-style: none;
        text-align: left;
        padding: 0;
        border-bottom: 1px solid #ccc;
        background-color: #fff;
        line-height: 60px;
    }

    ul.menu > li {
        margin-right: 0; /* clear the 4px negative margin set above */
    }

    ul.menu li.menu-item-has-children, ul.menu li.menu-item-has-children > a, ul.menu ul.sub-menu li.menu-item-has-children > a {
        padding-right: 0;
    }

    ul.menu > li.current_page_item a, ul.menu > li.current-menu-parent > a {
        background: #d95d2b;
        color: #fff;
    }

    /* plus and minus when in responsive mode */
    ul.menu li.menu-item-has-children > a:after {
        content: '\002B';
    }

    ul.menu li.menu-item-has-children > a.close:after {
        content: '\2012';
    }

    ul.menu li a {
        color: #454b54;
        display: block;
        padding-left: 25px;
    }

    ul.menu li a:hover, ul.menu ul.sub-menu > li a:hover {
        color: #fff;
        background: #454b54;
        text-decoration: none;
    }

    ul.menu li:last-child {
        border-bottom: none;
    }

    /*submenu items */
    ul.menu ul.sub-menu, ul.menu ul.sub-menu ul.sub-menu {
        position: relative;
        left: auto;
        top: auto;
    }

    ul.menu li:hover > ul {
        display: none;
    }


    ul.menu ul.sub-menu > li {
        padding: 0;
        text-align: left;

    }

    ul.menu ul.sub-menu > li a {
        font-size: 15px;
        padding: 12px 40px;
    }

    ul.menu li > ul {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    ul.menu ul.sub-menu > li:last-child, ul.menu ul.sub-menu > li:first-child {
        padding: 0;
    }

    ul.menu ul > li:first-child {
        border-top: 1px solid #cccccc;
    }

    /*sub sub menus */
    ul.menu ul.sub-menu ul.sub-menu > li a {
        padding-left: 60px;
    }
}


















/* WP Common Styles */
ol.commentlist {
	margin:0;
	padding:0;
	}

.commentlist li {
	list-style:none;
	margin-bottom:14px;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	background:url(http://www.yoursite.com/images/bg_comments2_cite.gif);
	border-top:1px solid #d6e4c1;
	border-bottom:1px solid #779d42;
	color:#596e3b;
	}

.commentlist a:link, .commentlist a:visited {
	color:#596e3b;
	}

.commentlist a:hover, .commentlist a:active {
	color:#8ec343;
	}

.commentlist cite img {
	padding:1px;
	border:1px solid #aab59a;
	float:left;
	margin-right:9px;
	}

.commentlist .author {
	font: small-caps bold 1.2em Georgia, "Times New Roman", Times, serif;
	text-decoration:underline;
	}

.commentlist .time {
	background: url(http://www.yoursite.com/images/bg_clock.gif) no-repeat 1px;
	padding-left:13px;
	}

.commenttext {
	background: #9bc561 url(http://www.yoursite.com/images/bg_comments2_text.jpg) repeat-x bottom;
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #e0e0e0;
   color: #777777;
   font-size: 10px;
   border: 1px solid #999999;
   text-decoration: none;
   padding: 3px 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #eeeeee;
   border: 1px solid #333333;
   color: #000000;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
}
img.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}
.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}