/* CSS Document */ /* Final CSS */ :root{ --cpblue: #15375d; } *, html, body { margin: 0px; padding: 0px; border: 0px; background-color: white; color: #15375d; font-family: verdana, tahoma, helvetica, sans-serif; font-size: medium; box-sizing: border-box; } h1, h2 { text-shadow: 2px 2px 5px #999999; text-align: center; } h6 { font-size: 0.7rem; } p { margin-top: 1rem; margin-bottom: 1rem; } p.centre, div.centre { width: 100%; background-color: transparent; text-align: center; } p.justification{ text-align: justify; } a { text-decoration: none; } /*Form Process 1 and 2*/ .container4{ width: 100%; margin-top: 2rem; text-align: center; background-color: white; } .image1 { transform: rotate(-3deg); padding: 10px; border: 1px solid #cccccc; box-shadow: -5px 8px 10px 5px #aaaaaa; width: 30%; min-width: 200px; position: relative; top: -20px; margin-bottom: 2rem; } form { margin-bottom: 5rem; border: 1px solid #dddddd; text-align: left; } label, form, form label a{ background-color: #f2f2f2; }
input[type=text], select, textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; margin-top: 6px; margin-bottom: 16px; resize: vertical; } input[type=submit] { background-color: #15375d; color: white; padding: 12px 20px; border: none; border-radius: 4px; cursor: pointer; } input[type=submit]:hover { background-color: #5276ae; } .container3 { border-radius: 5px; background-color: #f2f2f2; padding: 20px; } /* MAIN POD BACKGROUND */ /* .pod, .podtext, .podtext p, .podtext h2, .podimgl, .podimgr, .contractors, .clients { /*background-color: #fffef0; cream*/ /*background-color: #ffffff; white*/ /*background-color: #ccd8e6; steel blue*/ /*background-color: #f2f8ff; ice blue*//* } */ .podtext, .podtext p, .podtext h2, .podimgl, .podimgr, .contractors, .clients { background: inherit; } .pod { background-color: #f2f8ff;; }/*steel blue*/ .pod1{ background-color: #d5eafc; }/*steel blue*/ .pod2{ background-color: #fdfcd9; }/*cream*/
.pod3{ background-color: #f1d9fc; }/*purple*/ .pod4{ background-color: #fce1d9; }/*rose*/ .container1{ width: 100%; text-align: center; background-color: #f3f3f3; } .header1{ width: 100%; height: 125px; padding-top: 10px; padding-bottom: 10px; } .menuicon, .menuicon img{ position: fixed; visibility: hidden; top: 14px; right: 50px; width: 50px; height: 50px; background-color: transparent; } .nav1{ width: 100%; height: 32px; padding-top: 10px; padding-bottom: 10px; } .logo1, logo2{ margin-left: auto; margin-right: auto; margin-top: 14px; height: 80px; } .logo1 img, logo2 img{ width: 150px; height: 50px; } .nav1 ul{ text-decoration: none; padding-top: 5px; position: static; } .nav1 li { display: inline; margin-top: 20px; padding: 10px; } /*Index page comes in from -700px drop to 0px */ @keyframes chopper { from {top: -700px;} to {top: 0px;} } .bannerbkg{ background-image: url("../images/calpeoplebkg2.jpg"); } .banner{ width: 100%; position: relative; animation: chopper 10s; } .banner img{ text-align: center;
width: 100%; } .testimonials{ background-color: white; } 
/* main - All pages main text area*/ .main{ width: 100%; height: auto; text-align: center; } .main h1, .main h2{ padding-top: 20px; padding-bottom: 20px; } /* mainlist, mainitem Index page sitemap*/ .mainlist{ min-height: 500px; margin: auto; width: 80%; padding-top: 20px; padding-bottom: 20px; } .mainitem { height: 100px; } /* Linker is the site map button */ .linker { width: 85px; height: 85px; margin-left: 10%; overflow: hidden; float: left; border: 0px; } /* Linker site map button items*/ #home {background: url("../icons/icon.jpg") -12px -12px;} #contractors {background: url("../icons/icon.jpg") 452px -12px;} #clients {background: url("../icons/icon.jpg") 338px -12px;} #vacancies {background: url("../icons/icon.jpg") 100px -12px;} #about {background: url("../icons/icon.jpg")  216px -12px;} .pagelink{ padding-top: 33px; border: 1px solid #ddd; background-color: #eeeeee; text-align: center; /*float: center;*/ width: 60%; margin: auto; height: 82px;
box-sizing: border-box; } .pagelink a{ background-color: #eeeeee; text-decoration: none; cursor: pointer; } .pagelink:hover{ background-color: #fffff8; text-decoration: none; border: 1px solid #fd9; } /* NON INDEX PAGE CONTENT */ /* Contractor, Client, About, Jobs Central Panel*/ /* CONTRACTOR PAGE */ .container2{ width: 100%; overflow: hidden; } picture.image2{ width: 100%; } .switchb, .switchc, .switchd { width: 100%; margin-left: auto; margin-right: auto; text-align: center; /*height: 864px;*/ overflow: hidden; position: relative; } .switchb { animation: switchb1 linear 5s forwards; } @keyframes switchb1 { 0%  {opacity: 1;} 100% {opacity: 1;transform: scale(1.3);} } /* CLIENTS animimation */ .switch1{ animation: switch1 linear 10s; } .switch2 { animation: switch2 linear 10s forwards ; } .switch3 { animation: switch3 linear 10s forwards ; } .switch4 { animation: switch4 linear 10s forwards ; } .switch5 { animation: switch5 linear 10s forwards ; }
/* important .switch five is not position absolute, just left in place*/ .switch1 img, .switch2 img, .switch3 img, .switch4 img{ position: absolute; position: top 0px; position: left 0px; width: 100%; } @keyframes switch1 { 0%  {opacity: 1;} 10% {opacity: 1;} 25% {opacity: 0;} 100% {opacity: 0;} } @keyframes switch2 { 0%  {opacity: 0;} 10% {opacity: 0;} 25% {opacity: 1;} 45% {opacity: 1;} 46% {opacity: 0;} 100% {opacity: 0;} } @keyframes switch3 { 0%  {opacity: 0;} 45% {opacity: 0;} 46% {opacity: 1;} 50% {opacity: 1;} 51% {opacity: 0;} 100% {opacity: 0;} } @keyframes switch4 { 0%  {opacity: 0;} 50% {opacity: 0;} 51% {opacity: 1;} 80% {opacity: 1;} 95% {opacity: 0;} 100% {opacity: 0;} } @keyframes switch5 { 0%   {opacity: 0;} 80%  {opacity: 0;} 95%  {opacity: 1;} 100% {opacity: 1;} } .header1{text-align: center;} /* End of CLIENT animation*/ .main2 { width: 50%; margin-left: auto; margin-right: auto; } .pod, .pod1, .pod2, .pod3, .pod4{ display: flex; margin-top: 2.5rem; margin-bottom: 2.5rem;
border: 1px solid #dddddd; } .podimgl, .podimgr{ width: 45%; height: 100%; } .podimgl img, .podimgr img{ width: 100%; padding: 0.5rem; border: 1px solid #dddddd; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } .podimgl img{ transform: rotate(-2deg); } .podimgr img{ transform: rotate(2deg); } .intro1, .podtext, .podtext p, .outro1, .form1, .form2 { text-align: left; padding: 0.5rem; } .intro1, .intro1 p, .outro1, .outro1 p{ width: 90%; margin-left: auto; margin-right: auto; } .podtext{ width: 55%; padding: 2rem; } .podtext p{ margin-top: 0px; text-align: justify; } img.imgframe { background-color: #ffffff; } /* ABOUT animation*/ .switch1about{ animation: switch1about linear 8s; } .switch2about { animation: switch2about linear 8s forwards ; } .switch3about { animation: switch3about linear 8s forwards ; } .switch1about img, .switch2about img{ position: absolute; position: top 0px; position: left 0px; width: 100%; } @keyframes switch1about { 0%  {opacity: 1;} 15% {opacity: 1;}
35% {opacity: 0;} 100% {opacity: 0;} } @keyframes switch2about { 0%  {opacity: 0;} 15% {opacity: 0;} 35% {opacity: 1;} 70% {opacity: 1;} 100% {opacity: 0;} } @keyframes switch3about { 0%   {opacity: 0;} 70%  {opacity: 0;} 100% {opacity: 1;} } /* End of ABOUT animation*/ /* VACANCY page style*/ h2.jobvacancy { font-size: x-large; color: var(--cpblue); } .container0 { width: 100%; text-align: center; } .jobindex { margin: auto; margin-top: 1rem; width: 60%; padding-top: 2rem; padding-bottom: 2rem; border: 1px solid #efefef; border-radius: 2rem; color: var(--cpblue); } ul.jobmenu li { list-style-type: none; margin: 0; padding: 0; } .jobmenu li a { color: var(--cpblue); display: block; padding: 0.5rem 1rem; text-decoration: none; } /* Change the link color on hover */ .jobmenu li a:hover { background-color: #555; color: white; } /* id emailjob on only*/ #emailjob a{ color: #bc2e09; color: red; } #emailjob a:hover{ background-color: #bc2e09; color: white; } .job { margin: auto; width: 70%; margin-top: 2rem; }
a, .job a { text-decoration: none; } .vacancy{ width: 70%; height: auto; /*float: center; */ margin: auto; border-radius: 1.2rem; text-align: left; padding: 10px; padding-bottom: 2rem; border: 1px solid #efefef; } .vacancy, .vacancy img, .vacancy p, .vacancy ul li, .vacancy p a, .jobpod, .head1, .close{ background-color: var(--cpblue); color: white; } .vacancy p { padding: 0.25rem; padding-left: 3rem; padding-right: 2rem; } .vacancy ul{ margin-left: 15%; margin-right: 10%; } .vacancy a:hover{ color: #ffdb22; } .vacancy img{ border: 1px solid #efefef; border-radius: 2rem; padding: 10px; /*float: center; */ margin: auto; margin-bottom: 2rem; width: 70%; } .jobpod { padding-left: 3rem; padding-right: 1rem; background-color: var(--cpblue); } .head1 { /*display: inline;  */ padding: 2rem; } /* Close icon goto top*/ img.close{ float: right; margin:0; padding:0; width: 30px; min-width: 30px; height: 30px; opacity: 0.5; } .titlejob1, .titlejob2, .titlejob3{ font-weight: bold; color: white; background-color: #15375d; }
.titlejob1{ font-size: x-large; } .titlejob2{ font-size: 1em; padding-left: 0rem; } .titlejob3{ font-size: 1em; } @media screen and (max-width: 800px){ .titlejob1{ font-size: 1.5rem; } .titlejob2{ font-size: 0.9em; } .jobindex{ width: 80%; } .job{ width: 100%; } .vacancy { font-size: 0.9em; width: 90%; margin: auto; } .podtext p{          /*Changed in 5 July 21 */ text-align: left; font-size: 0.85rem; } } @media screen and (max-width: 400px){ .vacancy img{ border: 0px; border-radius: 15px; } } @media screen and (max-width: 300px){ .titlejob1{ font-size: 1rem; } .titlejob2{ font-size: 0.9em; } .job,.vacancy, .head1{ /*font-size: 0.8rem; */ width: 100%; margin: 0px; padding: 0px; } h2.jobvacancy{ font-size: 1.2rem; } .jobpod, .vacancy p{ font-size: 0.9rem; margin: 1rem; padding: 1rem; } } /* End of VACANCY page style*/ /* ALL PAGES FOOTER */ /* Company details list  footer1, footer2, insert1*/ .footer1, .footer1 ul li, .footer1 a, .footer3, .footer3 ul li, .footer3 a{ width: 100%; padding-top: 50px;
padding-bottom: 50px; background-color: #f3f3f3; text-decoration: none; text-align: center; color:  #15375d; list-style-type: none; /* Remove bullets */ } .footer1{ margin-top: 50px; border-top: 1px solid #eeeeee; } .footer1 ul li, .footer3 ul li{ display: inline; } /* Copyright notice footer2*/ .footer2, .footer2 a{ padding: 15px; padding-bottom: 4rem; font-size: small; text-decoration: none; background-color: #f3f3f3; text-align: center; } .footer3{ position: fixed; left: 0; bottom: 0; width: 100%; background-color: #f3f3f3; color: white; text-align: center; border-top: 1px solid #eeeeee; } /* Plasma, 27" and 30" screens*/ @media screen and (min-width: 2001px){ .switchb, .switchc, .switchd { width: 100%; height: 1125px; overflow: hidden; position: relative; } .podtext, .podtext p, p{ padding: 4rem; font-size: 1.5rem; } h1, h2{ font-size: 2rem; } } @media screen and (max-width: 2000px){ .switchb, .switchc, .switchd { width: 100%; height: 864px; overflow: hidden; position: relative; } }
@media screen and (max-width: 1600px){ .switchb, .switchc, .switchd { width: 100%; height: 615px; overflow: hidden; position: relative; } .main2{ width: 70%; margin-top: 20px; } } /* portrait*/ @media only screen and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) { .footer3{ position: relative; max-height: 25%; } } /* Footer needs to react quicker*/ @media screen and (max-width: 1024px){ .footer1, footer3{ margin: 0px; margin-top: 1rem; padding: 0px; padding-bottom: 1rem; } .footer1 ul li, .footer3 ul li{ display: block; } .footer1 ul li, .footer3 ul li, .footer3 a, .footer1 a{ margin: 0px; padding: 0px; margin-top: 1rem; } } /* Tablet, iPad, iPhones */ @media screen and (max-width: 800px){ .container1, banner, main{ font-size: .9rem; } .switchb, .switchc, .switchd { width: 100%; height: 533px; overflow: hidden; position: relative; } .main2{ width: 100%; padding: 10px; } .pod, .pod1, .pod2, .pod3, .pod4{ display: block; } .podtext, .podimg, .podimgl, .podimgr {
width: 100%; margin-right: auto; margin-left: auto; } .menuicon, .menuicon img{ visibility: visible; right: 15px; width: 30px; } .logo1, logo2{ width: 30%; max-width: 150px; } .nav1, .nav1 ul, .nav1 li{ display: none; } .header1{ height: 100px; } .pagelink { font-size: small; } } /* Remove the icons and widen border slightly*/ @media screen and (max-width: 400px){ *, html, body{font-size: small;} .switchb, .switchc, .switchd { width: 100%; height: 400px; overflow: hidden; position: relative; } .menuicon, .menuicon img{ right: 30px; top: 5px; } .pod, .pod1, .pod2, .pod3, .pod4, .podtext{ margin: 5px; padding: 10px; border: 0px; width: 95%; } .pod, .pod1, .pod2, .pod3, .pod4{ padding-bottom: 20px; } .mainlist{ min-height: 300px; width: 80%; } .mainitem{ height: 60px; } .linker,  #home, #contractors, #clients, #vacancies, #about{ visibility: hidden; height: 5px; } .logo1 img{ width: 75px; height: 25px;} .logo2 img{ display: none; margin: 0px; padding: 0px;} @keyframes chopper { from {top: -200px;}
/*50% {top: 100px !important;}  ignored */ to {top: 0px;} } .pagelink{ height: 50px; padding-top: 20px; } .footer3, .footer3 ul li, .footer3 a{ padding: 0px; margin: 0px; font-size: .7rem; } .header1{ height: 35px; margin: 1px; padding: 0px; } } @media screen and (max-width: 300px){ .pod, .pod1, .pod2, .pod3, .pod4, .podtext{ margin: 5px; padding: 0px; border: 0px; width: 95%; } .podimg, .podimg img{ border: 0px; margin: 0px; padding: 0px; width: 100%; } } .contractors, .clients{ box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } .warning{ color:red; } span .form_info{ text-align: right; color: red; background-color: red; } .greybkg{ background-color: #f2f2f2; } /*Animation containers*/ .container2500, .container1920, .container1366, .container800, .container400{ display: none; } .container2500 img, .container1920 img, .container1366 img, .container800 img, .container400 img{ width: 100%; } @media screen and (min-width: 1921px){ .container2500{ display: block;} }
@media screen and (max-width: 1920px){ .container2500{ display: none;} .container1920{ display: block;} } @media screen and (max-width: 1366px){ .container1920{ display: none;} .container1366{ display: block;} } @media screen and (max-width: 800px){ .container1366{ display: none;} .container800{ display: block;} } /* Switches off About animation for small screens, not iPhones*/ @media screen and (max-width: 300px){ .container800{ display: none;} .container400{ display: block;} } /*ROLLOVERS contractor 1 client 2*/ .roll0081, .roll0091, .roll0101, .roll0111, .roll0082, .roll0092, .roll0102, .roll0112 { background-size: 100%; height: 100%; width: 100%; } .roll0081, .roll0082, .roll0101, .roll0102 { transform: rotate(-2deg); } .roll0091, .roll0092, .roll0111, .roll0112 { transform: rotate(2deg); } .roll0081{ background-image: url("../images/jobs/image008roll1.jpg");} .roll0091{ background-image: url("../images/jobs/image009roll1.jpg");} .roll0101{ background-image: url("../images/jobs/image010roll1.jpg");}
.roll0111{ background-image: url("../images/jobs/image011roll1.jpg");} .roll0082{ background-image: url("../images/jobs/image008roll2.jpg");} .roll0092{ background-image: url("../images/jobs/image009roll2.jpg");} .roll0102{ background-image: url("../images/jobs/image010roll2.jpg");} .roll0112{ background-image: url("../images/jobs/image011roll2.jpg");} .roll0081:hover img, .roll0091:hover img, .roll0101:hover img, .roll0111:hover img, .roll0082:hover img, .roll0092:hover img, .roll0102:hover img, .roll0112:hover img{ opacity: 0.0; } /*  HTML IMAGES<picture><source media="(max-width: 1000px)" srcset="./images/800/image01d.jpg"><source media="(max-width: 1600px)" srcset="./images/1366/image01c.jpg"><source media="(max-width: 2000px)" srcset="./images/1920/image01b.jpg"><source media="(min-width: 2001px)" srcset="./images/2500/image01a.jpg"> <img src="./images/1366/image01c.jpg" alt="Helicopter delivers Cal People Personnel"></picture> <img srcset="./images/2500/image01a.jpg  2500w,
./images/1920/image01b.jpg 1920w, ./images/1366/image01c.jpg 1366w, ./images/800/image01d.jpg" sizes="(min-width: 100%) 33.3vw, 100vw" src="./images/800/image01d.jpg" alt="Helicopter delivers Cal People Personnel" /> Image01 Helicopter ./images/2500/image01a.jpg ./images/1920/image01b.jpg ./images/1366/image01c.jpg ./images/800/image01d.jpg ./images/400/image01e.jpg */
