 



/* header elements */
.header_panel {
    background-color: #FAF7F7;
    box-shadow: 0 1px #FFFFFF inset, 0 1px 3px rgba(34, 25, 25, 0.4);
    height: 44px;
    left: 0;
    padding: 0 7px;
    position: relative;
    right: 0;
    top: 80px;
    z-index: 1;
}

.search {
    float: center;
    margin: 120px 0 0 40%;
}
.search input[type=text] {
    background-color: #FAF7F7;
    border-color: #C2C0C0 #CCCACA #D1CFCF;
    border-image: none;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px #FFFFFF, 0 1px rgba(34, 25, 25, 0.05) inset;
    color: #8C7E7E;
    float: left;
    font-size: 13px;
    height: 30px;
    padding: 5px;
    width: 280px;

    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.search input[type=text]:focus {
    background-color: #FFFFFF;
    box-shadow: 0 1px #FFFFFF, 0 1px rgba(34, 25, 25, 0.1) inset;
    width: 350px;
}
.search input[type=submit] {
    background: url("../images/search.gif") no-repeat scroll center center transparent;
    border-color: #C2C0C0 #CCCACA #D1CFCF;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px rgba(255, 255, 255, 0.9), 0 0 2px rgba(255, 255, 255, 0.75) inset;
    color: transparent;
    content: "";
    cursor: pointer;
    float: left;
    height: 28px;
    margin-left: -1px;
    min-height: 17px;
    padding: 7px 7px 1px;
    width: 30px;
}
 

/* upload form styles */
.overlay, .overlay2, .overlay3 {
    background-color: #FFFFFF;
    bottom: 0;
    display: none;
    left: 0;
    opacity: 0.8;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9;
}
.overlay:target, .overlay2:target, .overlay3:target {
    display: block;
}
.popup {
    background: none repeat scroll 0 0 #FCF9F9;
    border: 1px solid #F7F5F5;
    box-shadow: 0 2px 5px rgba(34, 25, 25, 0.5);
    display: inline-block;
    left: 50%;
    padding: 30px 30px 20px;
    position: fixed;
    top: 40%;
    visibility: hidden;
    width: 550px;
    z-index: 10;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.overlay:target+.popup, .overlay2:target+.popup, .overlay3:target+.popup {
    top: 50%;
    opacity: 1 ;
    visibility: visible;
}
.popup .header {
    background-color: #F2F0F0;
    border-bottom: 1px solid #CCCACA;
    margin: -30px -31px 20px;
    padding: 18px 31px 8px;
    position: relative;
}
.popup .header h2 {
    color: #8C7E7E;
    font-size: 21px;
    line-height: 1em;
    margin: 0 37px 0 0;
    text-shadow: 0 1px #FFFFFF;
}
.popup .close {
    background: -webkit-linear-gradient(#FFFCFC, #F0EDED) repeat scroll 0 0 transparent;
    background: -moz-linear-gradient(#FFFCFC, #F0EDED) repeat scroll 0 0 transparent;
    background: linear-gradient(#FFFCFC, #F0EDED) repeat scroll 0 0 transparent;
    border-left: 1px solid rgba(34, 25, 25, 0.15);
    bottom: 0;
    box-shadow: 0 1px 2px #FFFFFF inset;
    color: #BBBBBB;
    display: block;
    font-size: 50px;
    line-height: 42px;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: 0;
    width: 57px;
    z-index: 1;
}
.popup form input[type="file"] {
    font-size: 18px;
}


/* photo pins - general styles */
.main_container {
   
    padding: 50px 10px 0;
    position: relative;
    width: 100%;

}
.button {
    background-color: #F0EDED;
    background-image: -webkit-linear-gradient(center top , #FDFAFB, #F9F7F7 50%, #F6F3F4 50%, #F0EDED);
    background-image: -moz-linear-gradient(center top , #FDFAFB, #F9F7F7 50%, #F6F3F4 50%, #F0EDED);
    background-image: linear-gradient(center top , #FDFAFB, #F9F7F7 50%, #F6F3F4 50%, #F0EDED);
    border: 1px solid #BBBBBB;
    border-radius: 6px 6px 6px 6px;
    color: #524D4D;
    cursor: pointer;
    display: inline-block;
    float: right;
    font-weight: bold;
    line-height: 1em;
    margin: 0;
    padding: 5px 9px;
    text-align: center;
    text-shadow: 0 1px rgba(255, 255, 255, 0.9);

    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}
.button:hover {
    box-shadow: 0 1px rgba(255, 255, 255, 0.35) inset, 0 0 0 1px rgba(140, 126, 126, 0.5), 0 1px 2px rgba(35, 24, 24, 0.75);
}
.button.disabled, .button[disabled] {
    background: none repeat scroll 0 0 #F2F0F0;
    border-color: #D1CDCD;
    color: #D1CDCD;
    cursor: default;
    text-shadow: 0 -1px rgba(34, 25, 25, 0.01);
}

/* single pin styles */
.pin {
    background-color: #FFFFFF;
    box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
    float: left;
    font-size: 11px;
    margin: 0 15px 15px 0;
    min-height: 350px;
    padding: 15px 15px 0;
    position: relative;
    width: 350px;
}
.pin .holder {
    position: relative;
}
.pin .actions {
    left: -8px;
    position: absolute;
    top: -8px;
    z-index: 3;
}
.pin .actions a {
    clear: none;
    display: none;
    float: left;
    margin: 0 5px 0 0;
}
.pin:hover .actions a {
    display: block;
}
.pin .image {
    background-color: #F2F0F0;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    text-decoration: none;
}
.pin .image img {
        display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
        position: relative;
vertical-align: middle;
    max-width: 320px;
     opacity: 1;
}
.pin .desc {
    margin: 10px 0 5px;
    overflow: hidden;
    word-wrap: break-word;
}
.pin .info {
    color: #8C7E7E;
    line-height: 1.35em;
    margin: 0 0 0.8em;
    overflow: hidden;
}
.pin .info span {
    float: left;
    margin-right: 10px;
}

/* big pin styles */
.bigpin {
    background-color: transparent;
    box-shadow: none;
    float: none;
    margin: 0;
    padding: 5px;
    width: 600px;
}
.bigpin .owner {
    border-bottom: 1px solid #D1CDCD;
    overflow: hidden;
    padding-bottom: 50px;
}
.bigpin .follow_button {
    background-color: #D43638;
    background-image: -webkit-linear-gradient(center top , #EB5367, #E04751 50%, #DE404A 50%, #D43638);
    background-image: -moz-linear-gradient(center top , #EB5367, #E04751 50%, #DE404A 50%, #D43638);
    background-image: linear-gradient(center top , #EB5367, #E04751 50%, #DE404A 50%, #D43638);
    border-color: #910101;
    color: #FCF9F9;
    font-size: 13px;
    padding: 7px 9px;
    text-shadow: 0 -1px rgba(34, 25, 25, 0.5);
}
.bigpin .owner_img {
    float: left;
    margin-right: 9px;
    width: 50px;
}
.bigpin .owner_img img {
    display: block;
    height: 50px;
    width: 50px;
}
.bigpin .owner_name {
    font-size: 23px;
    line-height: 1em;
    margin-bottom: 2px;
}
.bigpin .owner_when {
    color: #8C7E7E;
    display: block;
    font-size: 13px;
    margin: 5px 0 0;
    padding-left: 60px;
}
.bigpin .holder {
    margin-top: 10px;
}
.bigpin .actions {
    left: 7px;
    top: 15px;
}
.bigpin .image {
    cursor: pointer;
}
.bigpin .image img {
    display: block;
    margin: 0 auto;
    max-width: none;
}
.bigpin .desc {
    border-bottom: 1px solid #D1CDCD;
    padding-bottom: 10px;
}
.bigpin .comments {
    margin: 20px 0;
    overflow: hidden;
    width: 99%;
}
.bigpin .comments p {
    color: #211922;
    font-size: 13px;
    line-height: 1.33em;
    margin-bottom: 10px;
    word-wrap: break-word;
}
.bigpin .comment {
    background-color: transparent;
    border-top: medium none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}
.bigpin  .comment textarea {
    padding: 10px;
    margin-bottom: 10px;
    width: 96%;
}

/* profile page */
.pname {
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 90px;
    text-align: center;
}
#infscr-loading {
    background: -webkit-linear-gradient(center top , #747D84 0%, #434F56 100%) no-repeat scroll center center transparent;
    background: -moz-linear-gradient(center top , #747D84 0%, #434F56 100%) no-repeat scroll center center transparent;
    background: linear-gradient(center top , #747D84 0%, #434F56 100%) no-repeat scroll center center transparent;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    bottom: 0;
    color: #FFFFFF;
    font-size: 1.2em;
    height: 50px;
    left: 50%;
    margin-left: -100px;
    padding-top: 20px;
    position: fixed;
    text-align: center;
    width: 250px;
    z-index: 10;
}