/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

html {
    font-size: 1em;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

/* remove yellow from chrome auto-fill background */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  color: #fff;
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset !important;
}

/* ==========================================================================
   Typography
   ========================================================================== */

body {
    line-height: 1.45;
    font-family: futura-pt, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    color: #444 !important;
    padding-top: 0 !important;
    /*background: url(/pb3/Adverts/Arcadia/graduate/2016/palms.jpg) center top fixed;*/
}

/* background image should be url('/pb3/Adverts/Arcadia/graduate/2016/palms.jpg') if grads applied using js in footer */

td,
p,
h1,
h2,
h3,
h4 {
    font-family: futura-pt, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

td {
    font-size: 16px;
}

small {
    font-size: 0.9em;
}

#topmost_table td {
    padding-left: 0 !important;
}

#topmost_table table {
    width: 100%;
}

a,
a:visited,
a:link {
    color: #777 !important;
}

a:hover {
    color: #333 !important;
    text-decoration: underline !important;
}

ol h3 {
    font-weight: normal;
}

/* ==========================================================================
   Grad Ad
   ========================================================================== */

html {
    //background: url(/pb3/Adverts/Arcadia/graduate/2016/palms.jpg) no-repeat center top fixed;
    //background-size: cover;
    font-size: 14px;
    background: none;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1em 2em;
}

.headline-block {
    background: #000;
    text-align: center;
    margin: 2em 0;
    padding: 1em;
}

.headline-title {
    color: #fff;
    font-size: 2.2em;
    font-weight: bold;
    margin: 0;
}

.headline-location {
    color: #cecece;
    font-size: 2em;
    font-weight: normal;
    margin: 0;
}

.description-block {
    background: rgba(255,255,255,0.9);
    margin: 2em 0;
}

.description-title {
    background: #000;
    color: #fff;
    padding: 0.3em 0.6em;
    margin: 0;
    font-size: 1.6em;
}

.description-text {
    padding: 1em;
    padding: 1.2em;
}

.brands-block {
    margin: 0 1em;
    padding: 1em 0;
    border-top: 2px solid #000;
}

.brands {
    display: table;
    width: 100%;
}

.brands a {
    display: table-cell;
    padding: 0.6em;
    vertical-align: middle;
}

.brands img {
    width: 100%;
    height: auto;
}

.controls {
    margin: 3em 0 4em;
    text-align: center;
}

.wButton,
.buttn {
   -webkit-appearance: none;
   -moz-appearance:    none;
   appearance:         none;
   border: none;
}

input[type="text"],
input[type="password"],
select,
textarea {
color: rgb(255, 255, 255);
background: rgb(0, 0, 0) none repeat scroll 0% 0%;
border: medium none;
padding: 0.5em 1em;
border-radius: 5px;
}

a[href*="candidate.apply"],
a[href*="SendToFriend"],
a.leftmenu,
.wButton,
.buttn {
    color: white !important;
    background: black;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 0px 5px rgba(255,255,255,0.8);
    -moz-box-shadow: 0px 0px 0px 5px rgba(255,255,255,0.8);
    box-shadow: 0px 0px 0px 5px rgba(255,255,255,0.8);
    font-weight: bold;
    padding: 1.2em 2em;
    font-size: 0.8em;
    text-align: center;
    cursor: pointer;
    margin-bottom: 1.8em;
    text-decoration: none !important;
}

.buttn img {
    display: none;
}

a[href*="candidate.apply"]:before {
    content: "Apply";
}

a[href*="candidate.apply"] {
    font-size: 1em;
}

a[href*="candidate.apply"] img {
    display: none;
}

a[href*="candidate.apply"] {
    -webkit-box-shadow: 0px 0px 0px 6px rgba(255,255,255,0.8);
    -moz-box-shadow: 0px 0px 0px 6px rgba(255,255,255,0.8);
    box-shadow: 0px 0px 0px 6px rgba(255,255,255,0.8);
}

a[href*="SendToFriend"] {
    float: right;
}

@media screen and (min-width: 480px) {
    
    .controls {
        margin: 5em 0 4em;
        text-align: center;
    }

    .controls .back {
        float: left;
        margin-left: 2em;
    }

    .controls .share {
        float: right;
        margin-right: 2em;
    }

    .controls .apply {
        margin: 0 auto;
        position: relative;
        top: -0.4em;
        width: 120px;
        font-size: 1em;   
    }

}

.social {
    text-align: center;
    margin: 3em 0 2em;
}

.social a {
    max-width: 3em;
    display: inline-block;
    margin: 0 0.8em;
}

.social img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 479px) {
    
    .hide-mobile {
        display: none;
    }
    
}

@media screen and (min-width: 480px) {
    
    html {
        font-size: 16px; 
    }
    
    .show-mobile {
        display: none;
    }
    
}

/* ==========================================================================
   Forms
   ========================================================================== */

select.error,
input.error,
textarea.error {
    border: 1px solid red;
/*    background: #333 !important;*/
    background: #faa !important;
}

.error span {
    font-weight: bold;
}

.row {
    overflow: hidden;
    margin-bottom: 0.5em;
}

.row label {
    display: block;
}

.row input,
.row select,
.row textarea {
    width: 100%;
}
    
@media screen and (min-width: 800px) {

    .row label {
        width: 390px;
        margin-right: 1em;
        display: inline-block;
    }
    
    .row input,
    .row select,
    .row textarea {
        width: 300px;
    }

}

label.error {
    color: red;
    vertical-align: top;
    text-align: left;
    font-weight: bold;
}

@media screen and (min-width: 800px) {
    
    label.error {
        margin-left: 396px;
    }
    
}

/* ==========================================================================
   Utility classes
   ========================================================================== */

.hide {
    display: none !important;
}

.clear:before,
.clear:after {
    content: " ";
    display: table;
}

.clear:after {
    clear: both;
}

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

@media only screen and (min-width: 30em) {
    /* 480px */
}

@media only screen and (min-width: 48em) {
    /* 768px */
}

/* ==========================================================================
   957 Fixes
   ========================================================================== */

.fix-back-button span.larger {
    font-size: 1em;
}


/* ==========================================================================
   Share Buttons
   ========================================================================== */
   
   .share-btn-wrp {
       padding-left: 0;
   }
   
   .share-btn-wrp li {
       list-style-type: none;
       display: inline-block;
       margin-right: 4px;
   }
   
   .share-btn-wrp img {
       cursor: pointer;
   }