/******************GLOBAL**************************/
@-ms-viewport{
  width: device-width;
}

html { 
	width:100%; height:100%;
	overflow-x:hidden;
	-webkit-text-size-adjust:100%; 
}

* { 
	margin:0; padding:0; 
	-webkit-box-sizing:border-box; box-sizing:border-box;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-touch-action:none;
    overflow: hidden;
}

img { border:none; }

body {
	width:100%;	height:100%;
    overflow:hidden;
    -webkit-user-select:none;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    background: #870003;
}

/* .panel p a { color: #f3f3f3 !important; } */
p {     font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
h2 { font-size: 25px; }
h2.banner { height: auto !important; position: absolute; width: 95%; text-align: center; top: 35px; background: rgba(255,255,255,.5); font-size: 21px; }

input,textarea
{
    -webkit-user-select:text;
    -moz-user-select:text;
}

	.loginbox { width: 75%; margin: 0 auto; }
	input[type="text"] { font-size: 20px; height: 55px; }
	input[type="password"] { font-size: 20px; height: 55px; }

::selection { 
	background:#aaa; 
	color:#fff; 
}

progress { width: 100%; }


a:focus, a:active, a:hover { outline:0; }
.view header .backButton { color: #fff !important; }
.clear { clear:both; }
.wrapper { float:left; }
.smalltext { font-size: 16px; margin-bottom:4px; clear: both; padding: 10px 0; display:block; }
.balanceinfo { padding: 5px; text-align: center; }

.loginbtn { display:block; width: 100%; color:#fff; border-radius: 4px; height:30px; line-height:0; text-align:center; padding: 25px; text-decoration: none; background: #cc0000; font-size: 20px; font-weight:bold; text-shadow: #000 1px 1px 3px; }

#afui input[type="tel"] { width: auto; }
#claimform { padding-bottom: 100px; font-size: 20px !important; }

span.spacer { padding: 0 20px; width: 76px; display: inline-block; height: 20px; }
span.blocklabel { background: #000; color: #fff; font-weight: bold; padding: 8px; display: block; text-align:center; line-height: 30px; border-radius: 5px; border: solid 1px black; }
span.header { display: block; padding: 10px; background: #555; color: #fff; }
span.smallblocklabel { background: #eee; color: #333; font-weight: bold; padding: 3px; display: block; text-align:center; border-radius: 2px; border: solid 1px black; margin-bottom: 5px; }

input[type="number"] { float: left; width: 95%; }

div.yearblock { background: #fff; border: solid 1px black; padding: 5px; margin-bottom: 20px; }

#afui #loginform input[type="text"] { color: #111; background: #fff;  }

div#loading { position: absolute; width: 100%; height: 90%; z-index: 10000; display: none; }
div#loading h3 { line-height: 495px; }

.errormessage { padding: 5px; color: red; margin-top: 5px; font-size: 15px; }

label.full { width: 100%; text-align: left; }
span.leftside { float: left; display: block; margin-top: 7px; margin-right: 2px;}


/******************* SMARTPHONE [DEFAULT STYLES] **************************/
.masthead, header {
	background-color:white;
    height:80px;
    border-bottom: solid 3px #870003;
    background: linear-gradient(#ccc,#aaa);
    border-top: solid 4px #870003;

}
.masthead h2 { font-size: 20px; line-height: 30px; padding-top: 25px; }

#afui img.bordered { border: solid 3px black; margin: 0 35px; }
#afui.ios > #header { border: 0; }

div#status { text-align: center; font-weight: bold; color: #fff; font-size: 16px; }

.view footer { background: #990000; color: #fff; padding: 5px 10px; text-align:center; height: 65px; border-top: 0;  }
.view footer p { width: 100%; }

.footer {
    background: linear-gradient(#870003, #BB0000);
    height: 80px;
    border-top: solid 3px black;
    position: absolute;
    width: 100%;
    bottom:0;
    z-index: 100;
}

.logo {
    float:left;
    margin:10px;
}

.content {
    display:block;
    width:100%; height:100%;
	background: #eee;
    position: relative;
    z-index:1;
    padding-top: 50px;
}

.picbutton {
    border-radius: 8px;
    width: 200px;
    height: 30px;
    background: #870003;
    border: solid 2px #fff;
    z-index: 10000;
    margin-top: 200px;
    color: #fff;
    margin-left: 65px;
    text-align:center;
    font-weight: bold;
    position: relative;
    
}

#afui .afScrollPanel { padding-top: 50px; }
#afui .blackbg { 
    background: transparent url(../images/clean_black_bg_retina_2048_x_1536_by_markwester-d6hcjr7.png) center center no-repeat !important;
}

/* #capturePhoto { font-size: 18px; line-height: 30px;  margin-top: 100px; margin-left: 50px; margin-bottom: 20px; } */

.photobox, .currentphoto {
 
    float: left;
    margin-top: 0px;
    border: solid #ffffff 2pt;
    width: 100px;
    height: 110px;
}

#receiptblock { padding: 0px; margin: 5px; background: #fff; border: solid 1px #aaa; }
#photoone {
    margin-left: -155px;   
}

#phototwo {
    margin-left: -50px;
}

#photothree {   
    margin-left: 55px;
}

#imagecontent {
    clear: both;
    position: relative;
    width:100%;
    background:#fff;
    overflow: auto;
    padding: 10px;
}

.slideshowpic {
    width:100%;
    height:auto;
    position: absolute;
}
    
.arrows {
    position:absolute;
    top:50%;
    cursor: pointer;
    width:24px;
}

#previousid {
    left:5%;
}

#nextid {
    right:5%;
}

.hide {
    display: none;
}

.button .hide {
    display:none;
}

.show {
    display:block;
}

.button.showbutton {
    width: 300px;
    margin-left: -150px;
}

.endbutton {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-72px;
    margin-top:130px;
}


.ios7 .view header { background: #990000; color:#fff; }
.ios7 .list { background: #fff; }
.ios7 .view header .backButton { font-size: 0; }

h4 { color: #fff; font-size: 42px; font-family: "Open Sans"; margin: 40px 0; }
h4 span.red { color: #cc0000; }

h4 span.shadow { text-shadow: #111 1px 1px 6px; }

#navbar {
    position:absolute;
    bottom:0;
    z-index:1000;
    height:55px;
    display:block;
    background: #990000;
    left:0;
    right:0;
    padding:0 3px;
}

#navbar a {
        -webkit-box-sizing:border-box;
        box-sizing: border-box;
        top: 10px;
        height: 43px;
        overflow: hidden;
        font-size:12px;
        font-weight:normal;
        text-decoration: none;
        color: #fff;
        text-align: center;
        display: inline-block;
        width: 18%;
        -webkit-backface-visibility: hidden;
        -webkit-perspective: 1000;
        line-height: 67px;
        position: relative;
        margin: 0;
}

#navbar .af-badge {
        right:auto;
        margin-left:-16px;
}

#navbar .icon:before {
        position:absolute;
        top:2px;
        left:0;
        font-size: 25px;
        margin:auto;
        width: 100%;
}

.view header { display: none; }
#mainview { width: auto; margin: 0 auto; position: relative;  }

.panel { background:  rgba(255,255,255,.65) !important; }
.pages { background: url('../images/home_bg.jpg') no-repeat; background-size: cover; }

#page1 h4 { color: #000; }

h2 { text-align: center; margin-bottom: 3px; }

ul.formfields li { margin: 3px 0; }
ul.formfields { padding: 10px; }
li.liner { height: 3px; background: #333; }
li.spacer { height: 5px; }

.spacerbox { width: 99%; height: 20px; }

.padding { padding: 5px 10px; }
.smallpadding { padding: 0 4px; }
.padding.queue { border: solid 10px black; padding: 5px; }

.chevron { position: absolute; } 
.leftalign { padding-top: 10px; padding-left: 10px; }

#announcements { padding: 20px; font-size:16px; margin-top: 15px; background: rgba(255,255,255,.7); }
#announcements li { display: none; }

#messagequeue { margin-left: 1px; }
#messagequeue li { padding: 10px; margin-top: 0px; border-left: solid 2px #333; border-right: solid 2px #333; border-bottom: solid 1px #111; }
#messagequeue li.read { color: #333; }
#messagequeue li.notread { color: #aa0000; }

#claimsqueue { padding: 0; margin: 0; }
#claimsqueue i { position: absolute; top: 30%; left: 15px; font-size:30px; }
#claimsqueue li { height: auto; margin: 0; padding: 5px; border-bottom: solid 3px #777; background: #fefefe; line-height: 20px; position: relative; }
#claimsqueue li span { display: block; float: none; margin: 0 0 6px 60px; font-size: 14px; width: 100%; }


h3 { text-align:center; color: #fff; background: #870003; padding: 5px 0; border-top: solid 1px #333; border-bottom: solid 1px #333;  }

#afui p.small { font-size: 10px; }
.smallcell { float: left; width: 45px; font-size: 10px; padding: 3px;}
.cell { float: left; width: 65px; font-size: 12px; padding: 3px;}
.cell.rightpad { width: 115px; text-align: right; padding-right: 10px; }

#afui input#password { color: #111; }
#afui input#empssn { color: #111; }

/* Customizations */
.view header h1 { background: #111; }

/************************ TABLET **************************/
@media handheld,  screen and (min-width: 600px) and (min-height:640px), 
only screen and (min-height: 440px) and (min-width:900px) {

    .masthead { height:75px; }

    .logo {
        width:84px;
        height:55px;
        margin:10px;   
    }

    .content { 
        background:rgb(0,84,154) url("../images/swoops-lg.png") no-repeat;
        background-position:bottom center;
        -webkit-background-size:cover; background-size:cover;
    }
 
    .button {
        margin-left: -170px;
        margin-top: 340px;
        width:99%;
        border-width:2px;
        -webkit-box-shadow:0px 1px 12px rgba(0,0,0,0.65);
        box-shadow:0px 1px 12px rgba(0,0,0,0.65);
        font-size:55px;
        line-height:100px;
        -webkit-border-radius:20px;border-radius:20px;
        text-shadow:0 2px 0px rgb(255,255,255); 
        background: #000;
      /*  background-image:-webkit-gradient(linear,30% 1%,30% 104%,color-stop(0.12, rgb(255,255,255)),color-stop(0.86, rgb(166,168,171))); */
    }

    #photoone {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -200px;
        margin-left: -288px;
        border: solid #ffffff 3pt;
        width:185px;
        height:259px;    
    }

    #phototwo {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -200px;
        margin-left: -93px;
        border: solid #ffffff 3pt;
        width:185px;
        height:259px;   
    }

    #photothree {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -200px;
        margin-left: 102px;
        border: solid #ffffff 3pt;
        width:185px;
        height:259px;   
    }

    .button.showbutton {
        width: 450px;
        height: 100px;
        margin-left: -225px;
    }

    .arrows {
        width:50px;
    }

    .endbutton {
        margin-left: -72px;
        margin-top: 340px;
    }

}


