html {
    position: relative;
    min-height: 100%;
}

body {
    height: 100%;
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background-color: #f8f8f8;
}

.wrap {
    height: auto;
    background-color: #fff;
}

.wrap>.container {
    padding: 70px 15px 20px;
}

a {
    font-size: 14px;
}
.mb-1{margin-bottom:15px;}
.mt-1{margin-top:15px;}
.mt-2{margin-top: 30px;}
.mt-3{margin-top: 60px;}

h3 a,
.panel a {
    font-size: 16px;
}

.footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;

    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here
    height: 60px;*/
}

.wrapH {
    background-color: #fff;
}

.white {
    background-color: #fff;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.m-b {
    margin-bottom: 20px;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.intl-tel-input {
    width: 100%;
}

/*** So Stylish ***/

a {
    color: #d32f2f;
}

.mb-30 {
    margin-bottom: 30px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 26px;
    margin-bottom: 26px;
}

footer.dark {
    color: #9d9d9d;
    background: #080808;
}

footer.dark a {
    color: #9d9d9d;
    text-decoration: none;
}

footer.dark a:hover,
footer.dark a:focus {
    color: #fff;
}

.site-index h1 {
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 25px;
    padding-top: 20px;
}

.site-index h1::before {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    width: 40px;
    height: 2px;
    content: "";
    bottom: 5px;
    margin: auto;
    background: #d32f2f;
}

.site-index h1::after {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    width: 60px;
    height: 2px;
    content: "";
    bottom: 0;
    margin: auto;
    background: #d32f2f;
}

.container.site-index {
    padding-bottom: 30px;
    padding-top: 70px;

}

.brand-list {
    background-color: #f8f8f8;
}

.brand-list .container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.brand-list h1 {
    margin-bottom: 50px;
    margin-top: 0;
    padding-top: 0;
}

.brand-list .panel {
    background-color: #d32f2f;
}

.brand-list .panel .panel-body a {
    color: #fff;
}

.brand-list .panel {
    border-radius: 5px;
}


.site-index h1 span {
    color: #d32f2f;
}

.panel {
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.panel-heading {
    border: 0;
}

.panel-heading {
    padding: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0px;
    border: 0
}

.panel a:hover,
.panel h2:hover {
    text-decoration: none;
}

/*.panel:hover .panel-body a {
    color: #fff;
}*/

.overlay {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
    height: 101%;
    background: rgba(211, 47, 47, 0.8);
    top: 0;
    transform: scale(0);
    transform-origin: 0 1 0;
    opacity: 0;
    transition: all 0.5s ease 0s;
    cursor: pointer;
}

.overlay ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    top: 45%;
    transform: rotate(0deg);
    transition: all .9s;
}

.overlay ul li {
    display: inline-block;
    color: #ffffff;
    margin-right: 5px;
}

.overlay ul li i {
    color: #ffffff;
    font-size: 16px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border: 1px solid #ffffff;
    border-radius: 50%;
}

.panel:hover .overlay {
    opacity: 1;
    transform: scale(1);
}

.panel-body,
.panel-footer {
    transition: all 0.5s ease 0s;
    border-top: 0;
}
.panel-body:hover{
	background: #d32f2f;
}
.panel-body .panel-title{
	color: #212121;
}
.panel-body:hover .panel-title a:hover{
	text-decoration: underline;
}


.panel:hover .panel-body,
.panel .panel-footer {
    background: #d32f2f;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    color: #fff;
}
.panel:hover .panel-body:hover{
	background: #000;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    color: #fff;
}
.panel .panel-footer:hover{
	background: #000;
}

.panel-body a.primary-color {
    font-style: italic;
}

.panel-footer a.primary-color {
    color: #fff  !important;
}

/*.panel:hover .panel-body a.primary-color {
    color: #fff;
}*/
.panel:hover .panel-body a.primary-color, .panel:hover .panel-body .panel-title {
    color: #fff;
}
.panel-body:hover a.primary-color:hover {
    text-decoration: underline;
}

.panel-footer:hover a.primary-color {
    color: #fff;
}

.panel-default>.panel-heading {
    min-height: 160px;
    background: #fff url('../images/spinner.gif') center no-repeat;
}

.panel-footer p {
    margin-bottom: 0;
}

/*** Login, Signup, Reset, User Area ***/

.site-login,
.user-area {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 5px;
}

.user-area, .site-cookie-policy, .site-privacy-policy, .site-page {
    margin-top: 20px;
}

.site-login h1,
.user-area h1 {
    color: #222222;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    text-transform: uppercase;
}

.site-login h1::after,
.user-area h1::after {
    background: #d32f2f;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    top: 50px;
    width: 60px;
}

.site-login p {
    margin-bottom: 20px;
}

.site-login input,
.user-area input,
.select2-container--krajee .select2-selection--single,
.user-area select,
.site-login select {
    background: #ffffff;
    height: 45px;
    margin-right: 20px;
    border-radius: 5px;
}

.select2-container--krajee .select2-selection--single .select2-selection__rendered {
    padding: 5px;
}

.select2-container--krajee .select2-selection__clear {
    top: 0.7rem;
}

.site-login input:focus,
.user-area input:focus {
    border: 0px;
    box-shadow: none;
}

.has-error .form-control,
.has-error .form-control:focus {
    box-shadow: none;
}

.site-login .checkbox label input {
    height: unset;
}

.login-btn,
.generic-btn {
    font-size: 18px;
    padding: 7px;
}

.signup-btn,
.big-btn {
    font-size: 18px;
    padding: 7px;
    width: 100%;
}

/*** Modal Area ***/
.modal-content {
    padding: 30px;
    border-radius: 5px;
}

.modal-header {
    border: 0;
}

.modal-header .close {
    margin-top: -20px;
}

.close {
    font-size: 27px;
}

#modalHeaderTitle h4 {
    color: #222222;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
}

#modalHeaderTitle h4::after {
    background: #d32f2f;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    top: 50px;
    width: 60px;
}

.modal-content input {
    background: #ffffff;
    height: 45px;
    margin-right: 20px;
    border-radius: 5px;
}

/*** Projects Area ***/

.project-item .panel .panel-heading {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

h2 {
    margin-bottom: 50px;
    font-weight: 700;
    font-size: 40px;
}

h2 span {
    color: #d32f2f;
}

h2.panel-title {
    line-height: 21px;
    height: 41px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 10px;
    overflow: hidden;
}

h3.panel-title {
    line-height: 21px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-x: hidden;
}

h3 {
    color: #000000;
    font-size: 24px;
    font-weight: 400;
    position: relative;
    transition: all 0.5s ease 0s;
    margin-bottom: 30px;
    line-height: unset;
}

h3::after {
    background: #d32f2f;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    top: 30px;
    width: 60px;
}

h3.panel-title>a {
    letter-spacing: 3px;
    font-weight: 300;
}

.brand h3.panel-title {
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
}

.clear {
    clear: both;
}

.project {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 20px;
}


@media (max-width:767px) {
    .wrap>.container {
        padding: 40px 15px 20px;
    }
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
    background-color: #d32f2f;
}

.pic-detail ul {
    padding: 0;
    list-style-type: none;
}

.pic-detail .project {
    padding: 0;
}

.pic-detail .col-lg-3,
.pic-detail .col-sm-4 {
    padding-left: 0;
}

.pic-detail .col-lg-3:hover .overlay,
.pic-detail .col-sm-4:hover .overlay {
    opacity: 1;
    transform: scale(1);
}

.parent {
    position: relative;
}

.alert {
    margin-top: 20px;
}

.col-lg-9.col-sm-8 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.col-lg-3.col-sm-4 {
    padding: 0;
}

span.languageTitle {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

label {
    margin-top: 5px;
}

.m-t {
    margin-top: 20px;
}

.panel-default {
    background: #f5f5f5;
}

h3.panel-title::after {
    background: transparent;
    content: "";
    height: 0;
    left: 0;
    position: absolute;
    top: 0;
    width: 0;
}

.danger {
    background-color: #d32f2f;
    opacity: 0.8;
    color: #fff;
}

.danger h3 {
    color: #fff;
}

.danger h3::after {
    background: #fff;
}

.overlay .glyphicon-ban-circle {
    font-size: 60px;
}

.danger .overlay ul li i {
    border: 0;
}

.danger .parent {
    border: 3px solid #d32f2f;
    border-radius: 5px;
}

.navbar-nav .btn {
    text-align: left;
}

.pagination>li>a,
.pagination>li>span,
.pagination>li>a:hover,
.pagination>li>span:hover,
.pagination>li>a:focus,
.pagination>li>span:focus {
    color: #d32f2f;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    background-color: #d32f2f;
    border-color: #d32f2f;
}

.pagination>li>a,
.pagination>li>span {
    padding: 10px 20px;
}

.list-view {
    position: relative;
}

.list-view p {
    height: 21px;
    line-height: 21px;
    overflow: hidden;
}

.list-view ul.pagination {
    display: table;
    margin: 20px auto;
    text-align: center;
}

@media screen and (max-width: 767px) {

    .pagination>li>a,
    .pagination>li>span {
        padding: 8px 13px;
    }
}

@media screen and (max-width: 470px) {

    .pagination>li>a,
    .pagination>li>span {
        padding: 5px 10px;
    }
}

hr.home {
    margin-top: 60px;
    margin-bottom: 40px;
    border-top-color: #d32f2f;
    width: 33%;
    opacity: 0.5;
}

p a.viewall {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2px;
}

p a.viewall:hover {
    text-decoration: none;
}

.site-conditions .conditions-container {
    height: 250px;
    overflow: auto;
    background-color: #f8f8f8;
    padding: 20px;
}

.site-conditions .site-conditions-header {
    margin: 20px 0;
}

.image-size-info {
    margin-top: 10px;
    margin-left: 10px;
}

.navbar-brand {
    padding: 0 0 0 15px;
}

.navbar-brand>img {
    height: 50px;
}
#form-newsletter-update .checkbox input[type="checkbox"]{
	margin-top:-12px;
}
#form-photo-info-update #img-preview {
    transform-origin: top left; /* IE 10+, Firefox, etc. */
    -webkit-transform-origin: top left; /* Chrome */
    -ms-transform-origin: top left; /* IE 9 */
}
#form-photo-info-update #img-preview.rotate90 {
    transform: rotate(90deg) translateY(-100%);
    -webkit-transform: rotate(90deg) translateY(-100%);
    -ms-transform: rotate(90deg) translateY(-100%);
}
#form-photo-info-update #img-preview.rotate180 {
    transform: rotate(180deg) translate(-100%,-100%);
    -webkit-transform: rotate(180deg) translate(-100%,-100%);
    -ms-transform: rotate(180deg) translateX(-100%,-100%);
}
#form-photo-info-update #img-preview.rotate270 {
    transform: rotate(270deg) translateX(-100%);
    -webkit-transform: rotate(270deg) translateX(-100%);
    -ms-transform: rotate(270deg) translateX(-100%);
}
/*Stats on page*/
.service-details {
    text-align: center;
    margin-top: 75px;
}
.service-details .glyph {
    color: #ff3333;
    font-size: 50px;
}
.service-details .dots {
    position: relative;
    width: 5px;
    height: 5px;
    background: #ff3333;
    border-radius: 50%;
    display: block;
    margin: 20px auto 0;
}
.service-details .dots:before {
    content: "";
    position: absolute;
    right: 100%;
    width: 5px;
    height: 5px;
    background: #ff3333;
    border-radius: 50%;
    margin-right: 5px;
}
.service-details .dots:after {
    content: "";
    position: absolute;
    left: 100%;
    width: 5px;
    height: 5px;
    background: #ff3333;
    border-radius: 50%;
    margin-left: 5px;
}
.service-details .title {
    display: block;
    width: 100%;
    font-weight: 700;
    line-height: 18px;
    color: #333;
    margin: 35px 0 20px;
	font-size: 40px;
    padding-bottom: 10px;
}
p.mini {
    line-height: 22px;
    margin-bottom: 20px;
	font-size: 25px;
    color: #000;
    font-weight: 500;
	text-transform: uppercase;
}