/*
Theme Name: Sun City
Description: Sun City theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */
@import url('webfonts/stylesheet.css');

html,body {
    height: 100%;
}

body {
	margin: 0;
	background: #fff;
	min-width: 300px;
}


html, body, p, li, dd, td {
	color: #555;
	line-height: 150%;
	font-size: 1.0em;
    font-weight: 300;
	font-family: 'Roboto', sans-serif;
}

.pace-running {
	background: url(images/preloader.gif) center 200px no-repeat #fff;
}

.pace-running > :not(.pace) {
  opacity: .8;
}

.pace-done > :not(.pace) {
  opacity: 1;
  transition: opacity .5s ease;
}

img a, a img {
	border: 0;
}

img {
	max-width: 100%;
	height: auto;
}

td {
	vertical-align: top;
}

a {
	color: #365ca1;
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #5b9a4e;
}

b, strong {
    font-weight: 500;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding: 4px 0 10px 0;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a {
	line-height: 120%;
	font-family: 'montserratsemibold', sans-serif;
    font-weight: 400;
    color: #B72126;
}

h1 {
	font-size: 2.8em;
	margin-top: 0;
   text-align: center;
}

h2 {
	font-size: 2.4em;
}

h3 {
	font-size: 2.2em;
}

h4 {
    font-size: 1.8em;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #81aad2;
	color: #81aad3;
	margin: 30px 0;
}

.wrapper {
	padding: 0 25px;
	margin: 0 auto;
    position: relative;
}

.wrapper, .headertext-container {
    width: 950px;
}


/* Header                                           */
/* ------------------------------------------------ */
#header {
    background: #fff;
    text-align: left;
    z-index: 9999;
    -moz-box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.1);
}

#headerlogo {
    float: left;
}

#headerlogo img, #taxicaller img {
    vertical-align: top;
}

.headerpic {
    height: 680px;
    width: 100%;
    position: relative;
    background: #cac4c6 url(images/headerpic-taxi.jpg) 60% bottom no-repeat;
    background-size: cover;
}
.headerpic.compact {
    height: 300px;
    background-image: url(images/headerpic-taxi-compact.jpg);
}

.headertext-container {
    position: relative;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    text-shadow: 0 0 12px rgba(247, 242, 238, 0.9);
    clear: both;
}

.headertext-container .wrapper {
    max-width: 70%;
    margin: 0;
}

.headertext-container h2 {
    font-size: 37px;
    line-height: 120%;
    margin: 0;
}
.headertext-container h2 b {
    font-size: 55px;
}

.headertext-container p {
    font-size: 22px;
}

#taxicaller {
    float: right;
    display: block;
}

#headerphone {
    padding: 7px 0 10px 40px;
    color: #B72126;
    font-size: 28px;
    background: url(images/phone.png) left 5px no-repeat;
    font-family: 'montserratsemibold', sans-serif;
}

#headerphone a {
    text-decoration: none;
    color: #B72126;
}

#headerphone a:hover {
    text-decoration: underline;
}

/* Homepage grid                                    */
/* ------------------------------------------------ */
.homepagebox-container {
    width: 50%;
    float: left;
    overflow: hidden;
}

.rule {
    border-bottom: 5px solid #e1b565;
    margin: 30px auto;
    width: 100px;
}


.homepagebox {
    width: 50%;
    padding: 70px 0;
    float: left;
    background: #dbaf5e;
    text-align: center;
    position: relative;
}

.homepagebox h2, .homepagebox p {
    color: #fff;
    margin: 0 4%;
}

.homepagebox h2 {
    font-size: 32px;
}


.textboxfleet, .textboxsecurity {
    background: #B72126;
}

.textboxabout .rule, .textboxbook .rule {
    border-bottom: 5px solid #B72126;
}

.homepagebox .btn {
    margin: 50px 0 0 0;
}

.textboxfleet .readmore, .textboxsecurity .readmore {
    background: #dbaf5e;
}

.imageboxfleet {
    background: #000 url(images/homepage-fleet.jpg);
    float: right;
}

.imageboxabout {
    background: url(images/homepage-about.jpg);
    float: right;
}

.imageboxbook {
    background: url(images/homepage-book.jpg);
}

.imageboxsecurity {
    background: url(images/homepage-security.jpg);
}

.imageboxfleet, .imageboxabout, .imageboxbook, .imageboxsecurity {
    background-size: cover;
    background-position: center 50%;
}


.textboxfleet::after, .textboxabout::after, .textboxbook::after, .textboxsecurity::after {
    content: url(images/arrow-red.png);
    position: absolute;
    z-index: 99;
    top: 45%;
    right: -20px;
}

.textboxbook::after, .textboxabout::after {
    content: url(images/arrow-yellow.png);
}

.textboxbook::after, .textboxsecurity::after {
    right: auto;
    left: -20px;
}



/* Content                                          */
/* ------------------------------------------------ */
.content {
	padding: 80px 0 100px 0;
	font-size: 1.1em;
	min-height: 200px;
}

.content, .content p, .content li {
	line-height: 160%;
}

.content img {
	max-width: 100%;
	height: auto;
}

.content-main {
    width: 62%;
    padding-right: 2%;
    margin-bottom: 30px;
    float: left;
}

body.home .content {
    text-align: center;
}


a.readmore, input[type="submit"] {
	background: #B72126;
	color: #fff !important;
	padding: 12px 25px;
	text-decoration: none;
	display: inline-block;
	margin: 18px 5px;
	font-size: 22px;
    font-weight: 500;
	text-shadow: none;
	line-height: 100%;
	border: 0;
	cursor: pointer;
    -moz-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
}

input[type="text"], input[type="email"], select, textarea {
    background-color: #fff;
    color: #000;
    padding: 10px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 18px;
    color: #5e5d5d;
    max-width: 100%;
}

a.readmore {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

a.readmore:hover, input[type="submit"]:hover {
    background: #333;
    color: #fff !important;
    padding: 15px 30px;
	 margin: 15px 0;
}

.clearfix {
    clear: both;
}

/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	padding: 80px 0 7px 0;
	min-height: 450px;
	background: #B72126;
    text-align: center;
}

#footer a, #footer, #footer p, #footer h3, #footer li {
	color: #fff;
}

#footer a {
    text-decoration: none;
}

#footer ul {
    list-style-type: none;
    margin: 0;
}

#footer ul li {
    padding: 4px 0 4px 35px;
}

#footer h3 {
    margin: 0;
}

#footerlinks {
    border-bottom: 5px solid #e1b565;
    padding: 45px 0;
}

#footerlinks ul.menu {
    display: block;
    text-align: center;
}

#footerlinks ul.menu li {
    display: inline-block;
    *display: inline;
    zoom: 1;
    padding: 0 5px;
}

#footerlinks ul.menu li a {
    border-bottom: 0;
}

#footerlinks ul.menu li.current-menu-item a {
    text-decoration: underline;
}

#footerlinks li a:hover {
    text-decoration: underline;
}

#termsconditions {
    clear: both;
    margin: 40px 0 100px 0;
    font-size: 0.8em;
}

#copyright {
    font-size: 0.7em;
}

#copyright, #copyright a {
    color: #fff;
}

a.scrollup {
	width: 67px;
	height: 67px;
	position: fixed;
	bottom: 25px;
	right: 25px;
	display: none;
	text-indent: -9999px;
	background: url('images/top.png') no-repeat;
	opacity: 0.3;
}

div.leftcol, div.rightcol {
   float: left; 
   width: 47%;
   margin: 0 3% 0 0;
}
div.rightcol {
   margin: 0 0 0 3%;
}
div.clear {
   clear: left;
}

/* Responsive elements                              */
/* ------------------------------------------------ */

@media screen and (min-width: 1280px) {
	.wrapper, .headertext-container {
		width: 1200px;
	}
}

@media screen and (max-width: 1280px) {
	.wrapper, .headertext-container {
		width: auto;
	}

    .headerpic {
        height: 500px;
    }

    .headertext-container h2 {
        font-size: 30px;
    }
    .headertext-container h2 b {
        font-size: 45px;
    }

    .headertext-container p {
        font-size: 18px;
    }

    .homepagebox-container {
        width: 100%;
    }

    .imageboxabout {
        float: left;
    }

    .imageboxbook {
        float: right;
    }

    .textboxabout::after {
        right: auto;
        left: -20px;
    }

    .textboxbook::after {
        left: auto;
        right: -20px;
    }

}

@media screen and (max-width: 970px) {
    #header {
        height: 80px;
    }

    #headerlogo {
        width: 200px;
        height: auto;
    }

    #taxicaller {
        width: 150px;
        height: auto;
        position: absolute;
        top: 90px;
        left: 25px;
        z-index: 999;
    }

}


@media screen and (max-width: 720px) {
    .headerpic {
        background-position: 40% bottom;
        padding-top: 40px;
    }

    .headertext-container .wrapper {
        max-width: 100%;
    }

    .headertext-container h2 {
        font-size: 20px;
    }
    .headertext-container h2 b {
        font-size: 30px;
    }

    .headertext-container p {
        font-size: 16px;
    }

    .homepagebox {
        width: 100%;
        min-height: 250px;
        float: none;
    }

    .textboxfleet::after, .textboxabout::after, .textboxbook::after, .textboxsecurity::after {
        top: -20px;
        left: 0;
        right: 0;
        text-align: center;
    }
    
   div.leftcol, div.rightcol {
      float: none; 
      width: auto;
      margin: 0;
   }    
}



@media screen and (max-width: 480px) {
	#header {
		padding-top: 40px;
		min-height: 80px;
		font-size: 16px;
	}

}




/* 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;
	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 {
	padding-left:13px;
	}

.commenttext {
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   margin-top: 30px;
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #777;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   padding: 8px 15px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #444;
   text-decoration: none !important;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
   padding-bottom: 10px;
}
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;
}

.wp-caption img {
	padding-bottom: 5px;
}

.alignleft, .alignright {
	margin-bottom: 20px;
}

.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}


@media screen and (max-width: 600px) {
    img.alignleft, img.alignright {
        float: none;
        display: block;
        margin: 20px auto;
    }
}