/*** General Style ***/
html {
	scroll-behavior: smooth;
	-webkit-scroll-behavior: smooth;
	-moz-scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    position: relative;
    min-height: 100vh;
}

#winner-single {
	min-height: auto;
}

h1 {
    font-family: 'Georgia', serif;
    font-size: 28px;
}

h2 {
    font-family: 'Georgia', serif;
    font-size: 26px;
}

h3 {
    font-size: 18px;
    font-family: 'Georgia',serif;
    color: #b29376;
    font-weight: 600;
    letter-spacing: 1px;
}

a {
  text-decoration: none;  
}

.btn {
    padding: 12px 30px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0;
    letter-spacing: 1px;
}

.btn:focus {
	box-shadow: none;
}

.primary-btn,
a.secondary-btn.btn:hover {
    background-color: #b29376;
    color: #fff;
    transition: all .3s;
    border: 2px solid #b29376 !important;
}

.primary-btn:hover {
    background-color: transparent;
    color: #b29376;
    transition: all .3s;
}

a.secondary-btn.btn {
    border: 2px solid #b29376;
    color: #b29376;
    margin-left: 15px;
    transition: all .3s;
}

.dark-bkg {
    background-color: #000;
}


/*** Top Header ***/
.top-header .d-flex {
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
}

.top-header .social-icons {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}

.top-header .social-icons a {
    padding: 0 5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.top-header img {
    width: auto;
    height: 16px;
}

.top-header-links {
	display: flex;
}

.top-header-links a {
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    padding: 0 7px;
    border-right: 1px solid #fff;
    transition: all .3s;
}

.top-header-links a:last-child {
    border-right: 0;
    padding-right: 0;
    transition: all .3s;
}

.top-header-links a:hover {
    color: #b29376;
}

/*** Middle Header ***/
.middle-header .d-flex {
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.middle-header .site-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
}

.middle-header .site-logo a {
	border-bottom: 0;
}

.header-buttons {
	display: flex;
}

/*** Bottom Header ***/
.categories-navigation {
	position: relative;
	transition: all .3s;
}

.categories-navigation.fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background: #fff;
	box-shadow: 0px 8px 18px -6px rgb(0 0 0 / 20%);
	transition: all .3s;
}

.categories-navigation.fixed .bottom-header .container {
	border-bottom: 0;
	border-top: 0;
}

.navbar {
	padding-top: 0;
	padding-bottom: 0;
	position: initial;
}

.navbar-toggler {
    padding: 0;
    width: 50px;
    height: 45px;
    text-align: left;
    background-image: url(https://www.photoawards.com/winner/images/menu-regular.png);
    background-size: 40px auto;
    background-repeat: no-repeat;
    background-position: center left;
    margin-left: -6px;
}

.navbar-toggler:focus {
	box-shadow: none;
}

.navbar-collapse {    
	position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background: #fff;
    width: 100%;
    z-index: 999;
    padding: 15px;
    margin-top: 15px;
}

/*
.categories-navigation.fixed .navbar-collapse {
	top: 45px;
}
*/

#navbarNavBottom.navbar-collapse {
	top: initial;
	bottom: 50px;
	margin-bottom: 15px;
	margin-top: 0;
}

.bottom-header .container {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    justify-content: space-between;
    position: relative;
}

.bottom-header .nav-link {
    color: #000;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.bottom-header .nav-link:hover,
.bottom-header .nav-link.active,
.bottom-header .dropdown-item:hover {
    color: #b29376;
    background-color: transparent;
}

.dropdown-menu {
    border: 0;
    border-top: 2px solid #b29376;
    background: #000;
    border-radius: 0;
    width: 100%;
    left: 0;
    right: 0;
    opacity: 1;
    padding: 0;
}

/*
.dropdown-toggle:hover + .dropdown-menu {
    display: block;
}
*/

.dropdown-item {
    width: 100%;
    padding: 12px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #fff;
    color: #fff;
}

.dropdown-item:last-child {
    border-bottom: 0;
}

.select-wrapper {
    position: relative;
    width: calc(100% - 100px);
    height: 45px;
}

.select-wrapper::after {
    color: #fff;
    content: '▾';
    margin-right: 10px;
    pointer-events: none;
    position: absolute;
    right: 10px;
    top: 7px;
    font-size: 20px;
}

.select {
    -moz-appearance: none;
    -webkit-appearance: none;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 0;
    cursor: pointer;
    padding: 12px;
    width: 100%;
    font-size: 14px;
}

.select:focus-visible {
    outline: none;
}

.select::-ms-expand {
    display: none;
}

.form-control:focus {
	border-color: #b29376;
	box-shadow: none;
}

/*** Page Title ***/
.page-title {
    padding: 0 0 20px;
}

.one-plus-banner {
	display: block;
	margin-top: 20px
}

.one-plus-banner img {
	width: 100%;
	height: auto
}

/*** Winners Gallery ***/
/*
#load_data {
	min-height: calc(100vh - 340px);
}
*/

#load_data {
    display: flex;
    flex-direction: column;
}

.winners .gallery-wrapper::after {
  content: '';
  display: block;
  clear: both;
}

.winner-item {
	width: 100%;
	margin: 0 0 10px;
	float: left;
	position: relative;

}
.winner-item .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-title {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gallery-title hr,
h1 + hr {
    background-color: #b29376;
    width: 100px;
    height: 2px !important;
    margin: 10px auto 20px;
    opacity: 1;
    border: 0;
}


.copy {
    width:100%;
    overflow: hidden;
    transition: .5s ease;
    background-color: rgba(0,0,0,1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
	padding: 15px;
}

.winner-item .label {
    background: #b29376;
    padding: 4px 15px;
    color: #fff;
    position: absolute;
    bottom: -16px;
    left: 0;
    font-size: 12px;
    display: none;
}

.winner-item .redsmall {
    height: 200px;
    background: #000;
    color: #fff;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.copy hr {
    width: 60px;
    color: #fff;
    background: #fff;
    opacity: 1;
    margin: 6px 0;
}

.copy p {
    margin-bottom: 0;
    font-weight: 500;
    letter-spacing: .5px;
    font-size: 14px;
    color: #fff;
}

.copy p:nth-child(2) {
    font-style: italic;
}

.copy .link {
    color: #b29376;
    border-bottom: 2px solid #b29376;
    margin-top: 10px;
    text-transform: lowercase;
}

.back-to-top {
	position: fixed;
	z-index: 10000;
    bottom: 15px;
    right: 15px;
    border: 3px solid #b29376;
}

.back-to-top a {
	width: 50px;
    height: 50px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    transition: all .3s;
}

.back-to-top a:hover {
	background: #b29376;
	transition: all .3s;
}

footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

#preview + footer {
	position: initial;
}

footer p {
	font-size: 14px !important;
	text-align: center;
}

/* Single Winner Page */
#preview .grid-main {
	max-width: 800px;
}

#preview {
	text-align: center;
}

/* Ranking Page */
.table * {
    font-size: 12px;
}

.select-section {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}

.select-section .search {
	z-index: 2; 
	background: transparent;
	width:100%;
	height: 45px;
    padding: 5px 15px;
    border: 1px solid #000;
    border-radius: 0;
    box-shadow: none;
    outline-offset: 0;
}

.select-section .select-wrapper::after {
	top: 13px;
}

table.table.table-striped a {
    color: #b29376;
}

.pagination {
	justify-content: center;
    margin: 40px 0;
}

ul.pagination li {
    width: 40px;
    height: 40px;
    border: 1px solid #b29376;
    margin-left: 10px;
}

ul.pagination li.active a {
    color: #fff;
}

ul.pagination li a {
    color: #b29376;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: all .3s;
}

ul.pagination li a:hover,
ul.pagination li.active a {
    color: #fff;
    background: #b29376;
    transition: all .3s;
}

ul.pagination li.nextpage {
    border: 0;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}

ul.pagination li.nextpage a:hover {
	color: #000;
	background: transparent;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #b29376; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

#load_data_message {
	padding: 40px;
	color: #b29376;
}

.winners .container:last-child {
	padding-bottom: 100px !important;
}

/*** Info Modal ***/
#infoModal {
	background: rgba(0,0,0,.8);
	z-index: 999999;
	display: block;
}


#infoModal .modal-dialog {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;

}

#infoModal .modal-content {
	max-width: 500px;
    text-align: center;
    width: 100%;
    background: #9bb0a9;
    position: relative;
}

#infoModal button.close {
	position: absolute;
    background: transparent;
    border: 0;
    top: -40px;
    left: 0;
    right: 0;
    cursor: pointer;
    z-index: 99;
    transition: all .3s;
}

#infoModal button.close svg {
	width: 30px;
    height: 30px;
}

#infoModal button.close:hover {
	background: #b29376;
	transition: all .3s;
}

#infoModal .modal-body {
	width: 100%;
	max-width: 100%;
	height: auto;
	background: #fff;
	padding: 30px 20px;
}

#infoModal .modal-body h2 {
	margin-bottom: 15px;
    color: #b29376;
}

#infoModal .modal-body img {
	width: 100%;
	height: auto;
}

#infoModal .modal-footer {
	padding: 20px;
    background: #9bb0a9;
    margin-top: -5px;
	text-align: center;
}

#infoModal .modal-footer .channel-button {
	background: #b29376;
    color: #fff !important;
    display: inline-block;
    border: 2px solid #b29376;
    padding: 12px 30px;
    text-transform: uppercase;
    margin: 0 auto;
    transition: all .3s;
}

#infoModal .modal-footer .channel-button:hover {
    background: transparent;
    color: #b29376 !important;
}

/*** Curator Statement ***/
.curator-statement .container {
	background: #f8f8f8;
}

.flex-container .column-half {
	text-align: center;
}

.flex-container .column-half img {
	width: 100%;
	height: auto;
	margin-bottom: 20px;
}

.top-winners {
	max-width: 1440px;
	margin: 2em auto;
	padding-left: 1em;
	padding-right: 1em;
	background-color: #f8f8f8;
	border-top: 1px solid #b29376;
}

.top-winners h2 {
	color: #b29376;
	text-align: center;
	margin-bottom: 1.5em;
	text-transform: uppercase;
}

.top-winners .winner-item .label {
	right: 0;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px;
    text-align: center;
    letter-spacing: .5px;
}

@media(min-width: 576px) {
	.ipa-winners-wrapper .gallery-wrapper {
	    display: flex;
	    flex-wrap: wrap;
	}
	
	.ipa-winners-wrapper .gallery-wrapper .winner-item {
	    width: calc(50% - 5px);
	}
	
/*
	.honorable-mentions-wrapper .gallery-wrapper {
		-webkit-column-count: 3;
		-moz-column-count:3;
		column-count: 3;
		-webkit-column-gap: 0;
		-moz-column-gap: 0;
		column-gap: 0;
	}
*/

	
}

@media(min-width: 768px) {
	h1 {
	    font-size: 32px;
	}

	.top-header .d-flex,
	.middle-header .d-flex {
		flex-direction: row;
	}
	
	.top-header .social-icons {
		padding-bottom: 0;
	}
	
	.middle-header .site-logo img {
		margin-bottom: 0;
	}
	
	.navbar-collapse {
		padding: 15px 35px;
	}
	
	.page-title {
	    padding: 40px;
	}
	
	.one-plus-banner img {
		width: 400px;
	}
	
	.gallery-title hr,
	h1 + hr {
	    margin: 10px 0 20px;
	}
		
	.select-wrapper {
		width: 250px;
	}
	
	.gallery-title {
	    justify-content: flex-start;
	    align-items: flex-start;
	    text-align: left;
	}
	
	.winners .gallery-wrapper {
	    display: flex;
	    flex-wrap: wrap;
	    align-items: flex-start;
	}
	
	.table * {
	    font-size: 14px;
	}

	
/*
	.ipa-winners-wrapper .gallery-wrapper .winner-item {
	    width: calc(50% - 10px);
	}
*/
	
	#preview {
		text-align: left;
	}


}

@media(min-width: 992px) {
	h1 {
		font-size: 36px;
	}
	
	h2 {
		font-size: 30px;
	}
	
	.one-plus-banner img {
		width: 450px;
	}
	
	.navbar {
		width: calc(100% - 200px);
	}
	
    .navbar-collapse {
	    position: relative;
	    top: initial;
	    left: initial;
	    right: initial;	    
	    padding: initial;
	    margin-top: 0;
	}
	
	#navbarNavBottom.navbar-collapse {
	    bottom: initial;
	    margin-bottom: 0;
	}
	
	.select-wrapper {
		width: 200px;
	}
	
	.ipa-winners-wrapper .gallery-wrapper .winner-item {
	    width: calc(33.3333% - 7px);
	    margin-right: 10px;
	}
	
	.ipa-winners-wrapper .gallery-wrapper .winner-item:last-child {
		margin-right: 0;
	}
	
	#navbarNavBottom .navbar-nav .dropdown-menu {
		top: initial;
	    bottom: 35px;
	    border-bottom: 2px solid #b29376;
	    border-top: 0;
	}
	
	#navbarNavBottom .dropdown-toggle::after {
		border-top: 0;
		border-bottom: .3em solid;
	}

	#infoModal button.close {
	    top: -60px;
	    left: 0;
	}
	
	#infoModal  button.close svg {
		width: 40px;
	    height: 40px;
	}
	
	#infoModal .modal-body {
		padding: 60px 40px;
	}
	
	#infoModal .modal-body p {
		font-size: 1.25rem;
	}
		
	/*** Curator Statement ***/
	.flex-container {
		display: flex;
		justify-content: space-between;
	}
	
	.flex-container .column-half {
		width: calc(50% - 15px);
		text-align: left;
	}
	
	.flex-container .column-half img {
		margin-bottom: 0px;
	}
}

@media(min-width: 1200px) {
	.one-plus-banner img {
		width: 500px;
	}
	
	.copy {
	    position: absolute;     
	    opacity:0;
	    bottom:0;
	    right:0;
	    top:100%;
	    height:0;
	    padding: 15px 25px;
	    background-color: rgba(0,0,0,.8);
	}
	
	.winner-item:hover .copy {
	    top: 0;
	    height: 100%;
	    opacity: 1;
	}
	
/*
	.copy h3 {
		margin-bottom: 2px;
	}
	
*/
	.copy hr {
		margin: 10px 0;
	}
	
/*
	.copy .link {
		margin-top: 2px;
	}
*/
	
	.select-wrapper {
	    width: 350px;
	}
	
	.select-section .select-wrapper {
		width: 500px;
	}
	
	.winner-item .label {
		display: block;
	}
	
	.table * {
	    font-size: 16px;
	}
}

@media(min-width: 1470px) {
	.container {
		max-width: 1440px;
	}
}


